Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001318/0.001318, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001038/0.001038, allocations: 181 kB / 23.36 MB, free: 1.133 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.9513/0.9513, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001828/0.001828, allocations: 245.7 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6857/0.6857, allocations: 138.4 MB / 402.2 MB, free: 0.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.528e-05, allocations: 4.281 kB / 462.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00289/0.002905, allocations: 2.657 MB / 465 MB, free: 15.21 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.00515, allocations: 1.491 MB / 466.5 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.005275, allocations: 8.25 kB / 466.5 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.005672, allocations: 100.9 kB / 466.6 MB, free: 14.2 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.006036, allocations: 201.8 kB / 466.8 MB, free: 14.08 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.006521, allocations: 268.2 kB / 467 MB, free: 13.89 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.006897, allocations: 421 kB / 467.4 MB, free: 13.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.007125, allocations: 174.3 kB / 467.6 MB, free: 13.35 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.00737, allocations: 224.6 kB / 467.8 MB, free: 13.13 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.007614, allocations: 187.5 kB / 468 MB, free: 12.95 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.007645, allocations: 24.53 kB / 468 MB, free: 12.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.007866, allocations: 172.7 kB / 468.2 MB, free: 12.76 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.406e-05/0.00796, allocations: 127.6 kB / 468.3 MB, free: 12.63 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.007e-05/0.00804, allocations: 99.8 kB / 468.4 MB, free: 12.54 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.008362, allocations: 359.7 kB / 468.8 MB, free: 12.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.008363, allocations: 0 / 468.8 MB, free: 12.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.008364, allocations: 2.656 kB / 468.8 MB, free: 12.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.008368, allocations: 0 / 468.8 MB, free: 12.18 MB / 426.7 MB 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.0005548/0.008922, allocations: 494.3 kB / 469.3 MB, free: 11.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.008952, allocations: 12.75 kB / 469.3 MB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005127/0.009464, allocations: 144 kB / 469.4 MB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.009683, allocations: 215.4 kB / 469.6 MB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.0097, allocations: 26.45 kB / 469.7 MB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/0.009774, allocations: 29.31 kB / 469.7 MB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.0101, allocations: 383.9 kB / 470.1 MB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.01011, allocations: 192 / 470.1 MB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.01013, allocations: 19.92 kB / 470.1 MB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.26e-05/0.01021, allocations: 41.12 kB / 470.1 MB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.01035, allocations: 104.5 kB / 470.2 MB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.01141, allocations: 1.29 MB / 471.5 MB, free: 9.336 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.01158, allocations: 164 kB / 471.7 MB, free: 9.164 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.01163, allocations: 44.84 kB / 471.7 MB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.01165, allocations: 4 kB / 471.7 MB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.01167, allocations: 44.8 kB / 471.8 MB, free: 9.062 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.01167, allocations: 0 / 471.8 MB, free: 9.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.00067/0.01234, allocations: 436.4 kB / 472.2 MB, free: 8.609 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.01237, allocations: 59.95 kB / 472.2 MB, free: 8.539 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.0125, allocations: 223.1 kB / 472.5 MB, free: 8.309 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.01252, allocations: 29.7 kB / 472.5 MB, free: 8.273 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.01259, allocations: 188.8 kB / 472.7 MB, free: 8.086 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.01263, allocations: 91.83 kB / 472.8 MB, free: 7.996 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.01271, allocations: 69.61 kB / 472.8 MB, free: 7.922 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003041/0.01301, allocations: 340.5 kB / 473.2 MB, free: 7.582 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.965e-05/0.01307, allocations: 40.7 kB / 473.2 MB, free: 7.543 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.5e-05/0.01317, allocations: 125.9 kB / 473.3 MB, free: 7.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.01334, allocations: 201.1 kB / 473.5 MB, free: 7.164 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01334, allocations: 0.625 kB / 473.5 MB, free: 7.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003958/0.01374, allocations: 297.6 kB / 473.8 MB, free: 6.867 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.01375, allocations: 4 kB / 473.8 MB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01375, allocations: 7.938 kB / 473.8 MB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004894/0.01424, allocations: 182.1 kB / 474 MB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.01438, allocations: 64.34 kB / 474.1 MB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.0155, allocations: 1.555 MB / 475.6 MB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.01564, allocations: 17.7 kB / 475.6 MB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.01565, allocations: 12 kB / 475.7 MB, free: 4.949 MB / 426.7 MB 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 8.212e-05/0.01574, allocations: 129.5 kB / 475.8 MB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.01577, allocations: 29.97 kB / 475.8 MB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.01594, allocations: 160.2 kB / 476 MB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.01594, allocations: 4 kB / 476 MB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.82e-07/0.01594, allocations: 0 / 476 MB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.01594, allocations: 0 / 476 MB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.01633, allocations: 445.5 kB / 476.4 MB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01634, allocations: 5.297 kB / 476.4 MB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.01652, allocations: 67.89 kB / 476.5 MB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01652, allocations: 5.25 kB / 476.5 MB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.01654, allocations: 8.594 kB / 476.5 MB, free: 4.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01654, allocations: 4.109 kB / 476.5 MB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.01654, allocations: 4.5 kB / 476.5 MB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.01678, allocations: 344.3 kB / 476.8 MB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.01683, allocations: 51.64 kB / 476.9 MB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.01686, allocations: 4 kB / 476.9 MB, free: 3.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.01695, allocations: 8 kB / 476.9 MB, free: 3.656 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.01697, allocations: 15.97 kB / 476.9 MB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.01698, allocations: 4.5 kB / 476.9 MB, free: 3.637 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.849e-05/0.01704, allocations: 69.66 kB / 477 MB, free: 3.566 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01704, allocations: 1.156 kB / 477 MB, free: 3.566 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002382/0.01728, allocations: 88 kB / 477.1 MB, free: 3.477 MB / 426.7 MB 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 9.251e-05/0.01737, allocations: 93.28 kB / 477.2 MB, free: 3.379 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003711/0.01774, allocations: 347.9 kB / 477.5 MB, free: 3.031 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.01775, allocations: 4 kB / 477.5 MB, free: 3.027 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/0.01781, allocations: 60.72 kB / 477.6 MB, free: 2.965 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.01803, allocations: 63.73 kB / 477.6 MB, free: 2.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008744/0.0189, allocations: 0.637 MB / 478.3 MB, free: 2.266 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.551e-05/0.01897, allocations: 116.3 kB / 478.4 MB, free: 2.133 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.394e-05/0.01906, allocations: 32.3 kB / 478.4 MB, free: 2.109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.01919, allocations: 91.34 kB / 478.5 MB, free: 2.02 MB / 426.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01919, allocations: 1.844 kB / 478.5 MB, free: 2.02 MB / 426.7 MB Notification: Performance of Templates: time 0.005808/0.025, allocations: 4.46 MB / 483 MB, free: 13.85 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3932026070542634]