Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001835/0.001835, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002113/0.002113, allocations: 211.1 kB / 22.99 MB, free: 4.605 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9821/0.9821, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 75.25 kB / 0.6416 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2463, allocations: 89.17 MB / 0.7286 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006283/0.2526, allocations: 3.219 MB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004051/0.2566, allocations: 1.979 MB / 0.7337 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.2569, allocations: 7.938 kB / 0.7337 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.2581, allocations: 298.8 kB / 0.734 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000832/0.259, allocations: 234.9 kB / 0.7342 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009747/0.2599, allocations: 294.4 kB / 0.7345 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007586/0.2607, allocations: 406.7 kB / 0.7349 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/0.2611, allocations: 168.2 kB / 0.7351 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004722/0.2616, allocations: 179.4 kB / 0.7352 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.2622, allocations: 195.2 kB / 0.7354 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.2622, allocations: 24 kB / 0.7354 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006439/0.2629, allocations: 251.5 kB / 0.7357 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.2631, allocations: 123.7 kB / 0.7358 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.2633, allocations: 123.5 kB / 0.7359 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.2645, allocations: 498.2 kB / 0.7364 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2645, allocations: 0 / 0.7364 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2645, allocations: 0 / 0.7364 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.258e-05/0.2645, allocations: 0 / 0.7364 GB, free: 8.539 MB / 0.5606 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.001673/0.2662, allocations: 0.5284 MB / 0.7369 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.2662, allocations: 8.031 kB / 0.7369 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.2674, allocations: 120.6 kB / 0.737 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.268, allocations: 222.7 kB / 0.7372 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.268, allocations: 24.86 kB / 0.7373 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.2682, allocations: 28.75 kB / 0.7373 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009115/0.2691, allocations: 0.5297 MB / 0.7378 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.2691, allocations: 7.922 kB / 0.7378 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/0.2692, allocations: 8 kB / 0.7378 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/0.2693, allocations: 36.47 kB / 0.7379 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007111/0.27, allocations: 365.7 kB / 0.7382 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002731/0.2728, allocations: 1.59 MB / 0.7398 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.2732, allocations: 254.2 kB / 0.74 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.2734, allocations: 140.8 kB / 0.7401 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.2735, allocations: 4 kB / 0.7401 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.2735, allocations: 38.56 kB / 0.7402 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.2735, allocations: 4 kB / 0.7402 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.001965/0.2755, allocations: 0.902 MB / 0.7411 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.2755, allocations: 55.41 kB / 0.7411 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.2759, allocations: 247 kB / 0.7413 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.2759, allocations: 33.7 kB / 0.7414 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.2761, allocations: 192.3 kB / 0.7416 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.076e-05/0.2762, allocations: 87.22 kB / 0.7416 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.2763, allocations: 81.62 kB / 0.7417 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2765, allocations: 334.8 kB / 0.742 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.2768, allocations: 155.9 kB / 0.7422 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.2772, allocations: 241.6 kB / 0.7424 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/0.2778, allocations: 410.8 kB / 0.7428 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.2778, allocations: 3.938 kB / 0.7428 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001324/0.2792, allocations: 0.5933 MB / 0.7434 GB, free: 1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.2792, allocations: 4 kB / 0.7434 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.2792, allocations: 4.312 kB / 0.7434 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007668/0.28, allocations: 201.4 kB / 0.7436 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.2803, allocations: 67.89 kB / 0.7437 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00324/0.2835, allocations: 2.349 MB / 0.746 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.284, allocations: 27.97 kB / 0.746 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.284, allocations: 12 kB / 0.746 GB, free: 14.24 MB / 0.5762 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.0002427/0.2843, allocations: 161.8 kB / 0.7461 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/0.2843, allocations: 27.8 kB / 0.7462 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006153/0.285, allocations: 359.2 kB / 0.7465 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.285, allocations: 8.062 kB / 0.7465 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.285, allocations: 0 / 0.7465 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.285, allocations: 0 / 0.7465 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.2862, allocations: 0.7041 MB / 0.7472 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.2862, allocations: 3.938 kB / 0.7472 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.2866, allocations: 75.88 kB / 0.7473 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.2866, allocations: 0 / 0.7473 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.2867, allocations: 8 kB / 0.7473 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2867, allocations: 0 / 0.7473 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2867, allocations: 8.062 kB / 0.7473 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008788/0.2875, allocations: 0.6098 MB / 0.7479 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.2877, allocations: 59.81 kB / 0.748 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.2878, allocations: 4 kB / 0.748 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.288, allocations: 15.97 kB / 0.748 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.2881, allocations: 15.98 kB / 0.748 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.2881, allocations: 7.984 kB / 0.748 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000254/0.2883, allocations: 176.1 kB / 0.7482 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2883, allocations: 0 / 0.7482 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004868/0.2888, allocations: 92 kB / 0.7483 GB, free: 11.84 MB / 0.5762 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.0001822/0.289, allocations: 115.1 kB / 0.7484 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.2901, allocations: 0.5065 MB / 0.7489 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.2901, allocations: 0 / 0.7489 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.2903, allocations: 135.8 kB / 0.749 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.2908, allocations: 55.41 kB / 0.749 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.2925, allocations: 0.8489 MB / 0.7499 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.2927, allocations: 189.8 kB / 0.7501 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002354/0.293, allocations: 74.23 kB / 0.7501 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.276e-05/0.2931, allocations: 19.44 kB / 0.7501 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.2931, allocations: 0 / 0.7501 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of Templates: time 0.01068/0.3037, allocations: 4.454 MB / 0.7545 GB, free: 5.449 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.69405784830451] Failed to read output from testmodel.py, exit status != 0: 0.3144132178276777 0.733082782 0.465467741 Calling exit ...