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.001697/0.001697, allocations: 77.08 kB / 19.18 MB, free: 2.527 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.002038/0.002038, allocations: 169.5 kB / 22.46 MB, free: 5.359 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.437/1.437, allocations: 177.1 MB / 202.8 MB, free: 9.188 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.249/1.249, allocations: 154.6 MB / 413.8 MB, free: 5.207 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.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.426e-05, allocations: 3 kB / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005185/0.005209, allocations: 3.205 MB / 0.6217 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003676/0.008885, allocations: 1.975 MB / 0.6236 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.009066, allocations: 7.938 kB / 0.6236 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.0101, allocations: 310.2 kB / 0.6239 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006222/0.01072, allocations: 234.6 kB / 0.6242 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007695/0.01149, allocations: 291.1 kB / 0.6244 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005802/0.01207, allocations: 422.5 kB / 0.6248 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.0124, allocations: 160.3 kB / 0.625 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000372/0.01277, allocations: 231.4 kB / 0.6252 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.01315, allocations: 183.5 kB / 0.6254 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.6e-05/0.0132, allocations: 27.94 kB / 0.6254 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.01364, allocations: 239.5 kB / 0.6256 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.01381, allocations: 131.6 kB / 0.6258 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.01394, allocations: 111.7 kB / 0.6259 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007579/0.0147, allocations: 0.5024 MB / 0.6264 GB, free: 12.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.01471, allocations: 0 / 0.6264 GB, free: 12.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.01471, allocations: 0 / 0.6264 GB, free: 12.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.01472, allocations: 0 / 0.6264 GB, free: 12.55 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.001134/0.01585, allocations: 0.5322 MB / 0.6269 GB, free: 11.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.01588, allocations: 11.97 kB / 0.6269 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.01694, allocations: 120.6 kB / 0.627 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.01732, allocations: 214.7 kB / 0.6272 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.01735, allocations: 24.86 kB / 0.6272 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.01748, allocations: 44.62 kB / 0.6273 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008413/0.01832, allocations: 0.5264 MB / 0.6278 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.01834, allocations: 192 / 0.6278 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.631e-05/0.01839, allocations: 11.94 kB / 0.6278 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001511/0.01854, allocations: 36.47 kB / 0.6278 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007066/0.01924, allocations: 365.7 kB / 0.6282 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/0.02187, allocations: 1.586 MB / 0.6297 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.02236, allocations: 242.4 kB / 0.63 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.0226, allocations: 148.7 kB / 0.6301 GB, free: 8.531 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.02263, allocations: 4 kB / 0.6301 GB, free: 8.527 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.02266, allocations: 34.56 kB / 0.6302 GB, free: 8.484 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.02267, allocations: 4 kB / 0.6302 GB, free: 8.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.001971/0.02464, allocations: 0.9024 MB / 0.631 GB, free: 7.547 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.02468, allocations: 59.34 kB / 0.6311 GB, free: 7.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.02501, allocations: 240.6 kB / 0.6313 GB, free: 7.234 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.02504, allocations: 37.64 kB / 0.6314 GB, free: 7.191 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.02518, allocations: 200.3 kB / 0.6315 GB, free: 6.992 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-05/0.02525, allocations: 79.33 kB / 0.6316 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.02539, allocations: 81.62 kB / 0.6317 GB, free: 6.828 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.02555, allocations: 330.8 kB / 0.632 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.02585, allocations: 155.9 kB / 0.6322 GB, free: 6.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.02624, allocations: 243 kB / 0.6324 GB, free: 6.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006957/0.02694, allocations: 411.4 kB / 0.6328 GB, free: 5.637 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.02694, allocations: 0 / 0.6328 GB, free: 5.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001353/0.02829, allocations: 0.5941 MB / 0.6334 GB, free: 5.035 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.02831, allocations: 8 kB / 0.6334 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.02832, allocations: 4.312 kB / 0.6334 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007275/0.02905, allocations: 188.6 kB / 0.6336 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.02939, allocations: 71.89 kB / 0.6336 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/0.03261, allocations: 2.341 MB / 0.6359 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.03302, allocations: 23.97 kB / 0.6359 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.03305, allocations: 12 kB / 0.636 GB, free: 2.285 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.00022/0.03327, allocations: 171.5 kB / 0.6361 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.03334, allocations: 23.91 kB / 0.6361 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006137/0.03395, allocations: 351.3 kB / 0.6365 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.03396, allocations: 4.062 kB / 0.6365 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.03396, allocations: 7.938 kB / 0.6365 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.03397, allocations: 0 / 0.6365 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.0351, allocations: 0.7065 MB / 0.6372 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.0351, allocations: 0 / 0.6372 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.03552, allocations: 71.94 kB / 0.6372 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.03553, allocations: 4 kB / 0.6372 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.03556, allocations: 11.94 kB / 0.6373 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.03556, allocations: 0 / 0.6373 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.03557, allocations: 0 / 0.6373 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008617/0.03643, allocations: 0.617 MB / 0.6379 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.03656, allocations: 55.81 kB / 0.6379 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.0366, allocations: 4 kB / 0.6379 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.03685, allocations: 19.91 kB / 0.6379 GB, free: 188 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.03689, allocations: 15.98 kB / 0.638 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.03691, allocations: 7.984 kB / 0.638 GB, free: 164 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002512/0.03716, allocations: 176.2 kB / 0.6381 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.03716, allocations: 0 / 0.6381 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004236/0.03758, allocations: 88 kB / 0.6382 GB, free: 15.9 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.0001938/0.03778, allocations: 123 kB / 0.6383 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.03881, allocations: 0.5143 MB / 0.6388 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.03882, allocations: 4.125 kB / 0.6388 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.03905, allocations: 139.8 kB / 0.639 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.03953, allocations: 44.69 kB / 0.639 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.04117, allocations: 0.735 MB / 0.6397 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.0414, allocations: 193.8 kB / 0.6399 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002283/0.04163, allocations: 74.22 kB / 0.64 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.636e-05/0.04172, allocations: 24.5 kB / 0.64 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.04172, allocations: 0 / 0.64 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.009413/0.05114, allocations: 4.16 MB / 0.6441 GB, free: 9.898 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.943171001970768] Failed to read output from testmodel.py, exit status != 0: 0.06034227833151817 0.07558260600000001 0.057656093000000005 Calling exit ...