Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001805/0.001805, allocations: 78.56 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002259/0.002259, allocations: 163.6 kB / 22.46 MB, free: 5.367 MB / 14.72 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 1.383/1.383, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.151/1.151, allocations: 154.7 MB / 413.9 MB, free: 5.137 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.6187 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.304e-05, allocations: 3.844 kB / 0.6187 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00497/0.004993, allocations: 3.202 MB / 0.6219 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003438/0.008431, allocations: 1.968 MB / 0.6238 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.008578, allocations: 7.938 kB / 0.6238 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.009618, allocations: 294.7 kB / 0.6241 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00058/0.0102, allocations: 238.6 kB / 0.6243 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.01093, allocations: 293.8 kB / 0.6246 GB, free: 14.56 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004945/0.01143, allocations: 414.7 kB / 0.625 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/0.01177, allocations: 168.2 kB / 0.6251 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003681/0.01214, allocations: 227.4 kB / 0.6254 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003955/0.01253, allocations: 187.5 kB / 0.6255 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.01258, allocations: 24 kB / 0.6256 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.013, allocations: 247.4 kB / 0.6258 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.01315, allocations: 115.7 kB / 0.6259 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.01327, allocations: 103.7 kB / 0.626 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006359/0.01391, allocations: 0.5063 MB / 0.6265 GB, free: 12.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.01391, allocations: 3.938 kB / 0.6265 GB, free: 12.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.263e-06/0.01391, allocations: 0 / 0.6265 GB, free: 12.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.01392, allocations: 0 / 0.6265 GB, free: 12.59 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001067/0.01499, allocations: 0.5362 MB / 0.627 GB, free: 12.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.01502, allocations: 8.031 kB / 0.627 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009717/0.01599, allocations: 116.6 kB / 0.6271 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.01645, allocations: 230.6 kB / 0.6274 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.01648, allocations: 16.88 kB / 0.6274 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.01661, allocations: 44.67 kB / 0.6274 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.01738, allocations: 0.5147 MB / 0.6279 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.01739, allocations: 4.188 kB / 0.6279 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.01743, allocations: 11.94 kB / 0.6279 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.01757, allocations: 40.47 kB / 0.628 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006338/0.0182, allocations: 365.7 kB / 0.6283 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.02056, allocations: 1.586 MB / 0.6299 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.02103, allocations: 246.4 kB / 0.6301 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.02125, allocations: 144.8 kB / 0.6303 GB, free: 8.562 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.02128, allocations: 7.984 kB / 0.6303 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.02131, allocations: 30.56 kB / 0.6303 GB, free: 8.516 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.02131, allocations: 0 / 0.6303 GB, free: 8.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.001829/0.02314, allocations: 0.9068 MB / 0.6312 GB, free: 7.578 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.02318, allocations: 59.34 kB / 0.6312 GB, free: 7.508 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.02351, allocations: 244.6 kB / 0.6315 GB, free: 7.262 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.02354, allocations: 33.7 kB / 0.6315 GB, free: 7.223 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.02369, allocations: 192.2 kB / 0.6317 GB, free: 7.031 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.259e-05/0.02377, allocations: 87.31 kB / 0.6318 GB, free: 6.945 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.02391, allocations: 77.64 kB / 0.6318 GB, free: 6.863 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.02406, allocations: 330.8 kB / 0.6322 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.02438, allocations: 163.8 kB / 0.6323 GB, free: 6.371 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.02474, allocations: 250.9 kB / 0.6326 GB, free: 6.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/0.02535, allocations: 403.5 kB / 0.6329 GB, free: 5.664 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.02535, allocations: 0 / 0.6329 GB, free: 5.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00124/0.02659, allocations: 0.5981 MB / 0.6335 GB, free: 5.059 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.02661, allocations: 8 kB / 0.6335 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.02662, allocations: 4 kB / 0.6335 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000717/0.02733, allocations: 187.3 kB / 0.6337 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.02767, allocations: 67.83 kB / 0.6338 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.03078, allocations: 2.345 MB / 0.6361 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.03117, allocations: 19.98 kB / 0.6361 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.0312, allocations: 16.09 kB / 0.6361 GB, free: 2.312 MB / 0.545 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.0314, allocations: 179.5 kB / 0.6363 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.03147, allocations: 23.91 kB / 0.6363 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005614/0.03203, allocations: 351.3 kB / 0.6366 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.03203, allocations: 4 kB / 0.6366 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.03204, allocations: 7.875 kB / 0.6366 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.03204, allocations: 0 / 0.6366 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.0331, allocations: 0.7027 MB / 0.6373 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.03311, allocations: 3.984 kB / 0.6373 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.03352, allocations: 71.95 kB / 0.6374 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.03352, allocations: 4 kB / 0.6374 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.03355, allocations: 15.92 kB / 0.6374 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.03356, allocations: 0 / 0.6374 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.03356, allocations: 0 / 0.6374 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008148/0.03437, allocations: 0.6077 MB / 0.638 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.03449, allocations: 55.8 kB / 0.6381 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.03453, allocations: 4 kB / 0.6381 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.03477, allocations: 15.98 kB / 0.6381 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.03482, allocations: 19.91 kB / 0.6381 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.03483, allocations: 12 kB / 0.6381 GB, free: 184 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002198/0.03505, allocations: 172.1 kB / 0.6383 GB, free: 12 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03505, allocations: 4 kB / 0.6383 GB, free: 8 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004238/0.03548, allocations: 87.98 kB / 0.6384 GB, free: 15.92 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001759/0.03565, allocations: 107.2 kB / 0.6385 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001/0.03665, allocations: 0.5181 MB / 0.639 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.03666, allocations: 0 / 0.639 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.03688, allocations: 140.4 kB / 0.6391 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.03733, allocations: 50.7 kB / 0.6392 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.03879, allocations: 0.7426 MB / 0.6399 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.03899, allocations: 185.7 kB / 0.6401 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002146/0.03921, allocations: 78.22 kB / 0.6401 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/0.03929, allocations: 24.48 kB / 0.6402 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.03929, allocations: 3.938 kB / 0.6402 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.008767/0.04806, allocations: 4.185 MB / 0.6442 GB, free: 9.895 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.757285807281733] Failed to read output from testmodel.py, exit status != 0: 0.05627818405628204 0.07033847900000001 0.053488265 Calling exit ...