Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008981/0.0008981, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009208/0.0009208, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9129/0.9129, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7382/0.7382, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.256e-05, allocations: 6.594 kB / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003359/0.003382, allocations: 3.021 MB / 0.621 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002457/0.005838, allocations: 1.862 MB / 0.6228 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.00597, allocations: 7.938 kB / 0.6228 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.00659, allocations: 282.9 kB / 0.6231 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.00702, allocations: 202.8 kB / 0.6233 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.007532, allocations: 254.9 kB / 0.6235 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.007871, allocations: 338.8 kB / 0.6238 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.008144, allocations: 161 kB / 0.624 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.008374, allocations: 187.6 kB / 0.6242 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.008596, allocations: 131.6 kB / 0.6243 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.008621, allocations: 23.94 kB / 0.6243 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.009059, allocations: 379.1 kB / 0.6247 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.918e-05/0.009148, allocations: 95.72 kB / 0.6248 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.764e-05/0.009216, allocations: 79.83 kB / 0.6248 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.00979, allocations: 0.518 MB / 0.6253 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.009795, allocations: 8 kB / 0.6253 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.493e-06/0.009796, allocations: 0 / 0.6253 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.009802, allocations: 0 / 0.6253 GB, free: 6.238 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007932/0.0106, allocations: 0.4893 MB / 0.6258 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.01064, allocations: 13.47 kB / 0.6258 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.01069, allocations: 58.72 kB / 0.6259 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004835/0.01117, allocations: 112.6 kB / 0.626 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.01145, allocations: 208.6 kB / 0.6262 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.01147, allocations: 16.86 kB / 0.6262 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.01149, allocations: 20.38 kB / 0.6262 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.0119, allocations: 401 kB / 0.6266 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.01191, allocations: 192 / 0.6266 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.01193, allocations: 16.12 kB / 0.6266 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/0.01196, allocations: 20.48 kB / 0.6267 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.01226, allocations: 293.8 kB / 0.6269 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.01359, allocations: 1.272 MB / 0.6282 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.01391, allocations: 252.3 kB / 0.6284 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.01401, allocations: 97.95 kB / 0.6285 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.785e-05/0.01407, allocations: 24.02 kB / 0.6285 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.0141, allocations: 38.5 kB / 0.6286 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.0141, allocations: 0 / 0.6286 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.001815/0.01591, allocations: 0.8845 MB / 0.6294 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.01595, allocations: 85.14 kB / 0.6295 GB, free: 1.746 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.01611, allocations: 216.7 kB / 0.6297 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.01613, allocations: 29.7 kB / 0.6298 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.01621, allocations: 172.5 kB / 0.6299 GB, free: 1.312 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.01626, allocations: 83.27 kB / 0.63 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/0.01633, allocations: 65.64 kB / 0.6301 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.382e-05/0.01642, allocations: 334.8 kB / 0.6304 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.01655, allocations: 127.9 kB / 0.6305 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.01672, allocations: 217.3 kB / 0.6307 GB, free: 464 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.01704, allocations: 371.9 kB / 0.6311 GB, free: 60 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01704, allocations: 0 / 0.6311 GB, free: 60 kB / 0.5886 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005711/0.01761, allocations: 0.5043 MB / 0.6316 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.01763, allocations: 8 kB / 0.6316 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01764, allocations: 0 / 0.6316 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/0.01796, allocations: 151.5 kB / 0.6317 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.01811, allocations: 63.91 kB / 0.6318 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.02006, allocations: 3.968 MB / 0.6356 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.02017, allocations: 19.98 kB / 0.6357 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.02019, allocations: 15.98 kB / 0.6357 GB, free: 11.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003798/0.02057, allocations: 157.8 kB / 0.6358 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.02061, allocations: 27.8 kB / 0.6359 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/0.02115, allocations: 484.1 kB / 0.6363 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.02115, allocations: 3.938 kB / 0.6363 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.02116, allocations: 4 kB / 0.6363 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.02116, allocations: 0 / 0.6363 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009826/0.02214, allocations: 0.9423 MB / 0.6372 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.02215, allocations: 0 / 0.6372 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.02222, allocations: 39.91 kB / 0.6373 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/0.02244, allocations: 131.3 kB / 0.6374 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.02245, allocations: 8.25 kB / 0.6374 GB, free: 9.117 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.02415, allocations: 3.952 MB / 0.6413 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.02415, allocations: 4.031 kB / 0.6413 GB, free: 4.879 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.02466, allocations: 0.6219 MB / 0.6419 GB, free: 4.199 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.02473, allocations: 39.84 kB / 0.6419 GB, free: 4.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.02475, allocations: 11.98 kB / 0.6419 GB, free: 4.148 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.02488, allocations: 23.92 kB / 0.642 GB, free: 4.125 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.02492, allocations: 23.91 kB / 0.642 GB, free: 4.102 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.02493, allocations: 8 kB / 0.642 GB, free: 4.094 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001108/0.02505, allocations: 169.5 kB / 0.6421 GB, free: 3.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.02505, allocations: 3.938 kB / 0.6422 GB, free: 3.926 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003885/0.02543, allocations: 91.94 kB / 0.6422 GB, free: 3.836 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001092/0.02653, allocations: 1.19 MB / 0.6434 GB, free: 2.582 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000619/0.02714, allocations: 0.5595 MB / 0.6439 GB, free: 1.996 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.197e-06/0.02715, allocations: 0 / 0.6439 GB, free: 1.996 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.02744, allocations: 402.2 kB / 0.6443 GB, free: 1.578 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.02782, allocations: 47.89 kB / 0.6444 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.03073, allocations: 3.317 MB / 0.6476 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.03087, allocations: 173.1 kB / 0.6478 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.03099, allocations: 58.23 kB / 0.6478 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.03108, allocations: 72.48 kB / 0.6479 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of SimCode: time 1.553e-06/0.03108, allocations: 0 / 0.6479 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.05628, allocations: 7.494 MB / 0.6552 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/8.323, allocations: 7.984 kB / 0.6552 GB, free: 6.398 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.077889738604426] Failed to read output from testmodel.py, exit status != 0: 8.418614677153528 8.429195139 8.417544336 Calling exit ...