Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.001306/0.001306, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001021/0.001021, allocations: 177 kB / 23.36 MB, free: 1.129 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.8985/0.8985, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.001578/0.001578, allocations: 243 kB / 260.5 MB, free: 12.71 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.6813/0.6813, allocations: 138.4 MB / 402.2 MB, free: 0.5625 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.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0.75 kB / 462.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.919e-06/1.168e-05, allocations: 2.312 kB / 462.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002365/0.002377, allocations: 2.228 MB / 464.5 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.00375, allocations: 0.9161 MB / 465.5 MB, free: 14.87 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.069e-05/0.00383, allocations: 7.875 kB / 465.5 MB, free: 14.87 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.004149, allocations: 79.3 kB / 465.5 MB, free: 14.82 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.004388, allocations: 135.2 kB / 465.7 MB, free: 14.75 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.004658, allocations: 159.8 kB / 465.8 MB, free: 14.67 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.00494, allocations: 265.2 kB / 466.1 MB, free: 14.55 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.005127, allocations: 122.8 kB / 466.2 MB, free: 14.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.005334, allocations: 147.5 kB / 466.4 MB, free: 14.45 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.005515, allocations: 114.3 kB / 466.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.00554, allocations: 15.28 kB / 466.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.005663, allocations: 80.77 kB / 466.6 MB, free: 14.38 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.005723, allocations: 74.56 kB / 466.6 MB, free: 14.31 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.005775, allocations: 63.77 kB / 466.7 MB, free: 14.25 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.005989, allocations: 205 kB / 466.9 MB, free: 14.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.00599, allocations: 0 / 466.9 MB, free: 14.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005991, allocations: 0 / 466.9 MB, free: 14.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.005995, allocations: 0 / 466.9 MB, free: 14.05 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0003565/0.006351, allocations: 391.6 kB / 467.3 MB, free: 13.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.704e-05/0.006378, allocations: 8.75 kB / 467.3 MB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002757/0.006654, allocations: 77.78 kB / 467.4 MB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.006834, allocations: 179.4 kB / 467.5 MB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.006845, allocations: 10.59 kB / 467.6 MB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.006867, allocations: 16.38 kB / 467.6 MB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.007089, allocations: 252.1 kB / 467.8 MB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.007097, allocations: 2.328 kB / 467.8 MB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.00711, allocations: 8.938 kB / 467.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.298e-05/0.007143, allocations: 32.19 kB / 467.9 MB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.751e-05/0.007241, allocations: 77.78 kB / 467.9 MB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/0.007881, allocations: 0.8894 MB / 468.8 MB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.008046, allocations: 162.2 kB / 469 MB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.008091, allocations: 34.45 kB / 469 MB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.008102, allocations: 8.594 kB / 469 MB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.008121, allocations: 42.48 kB / 469.1 MB, free: 11.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.008122, allocations: 2.219 kB / 469.1 MB, free: 11.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001699/0.008292, allocations: 97.59 kB / 469.2 MB, free: 11.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.00832, allocations: 82.3 kB / 469.2 MB, free: 11.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.0084, allocations: 174.5 kB / 469.4 MB, free: 11.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.008415, allocations: 25.7 kB / 469.4 MB, free: 11.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.008467, allocations: 133 kB / 469.6 MB, free: 11.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.008496, allocations: 59.47 kB / 469.6 MB, free: 11.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.008547, allocations: 47.17 kB / 469.7 MB, free: 11.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.008618, allocations: 326.8 kB / 470 MB, free: 10.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.008899, allocations: 24.86 kB / 470 MB, free: 10.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/0.00897, allocations: 123.6 kB / 470.1 MB, free: 10.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.009075, allocations: 124.7 kB / 470.3 MB, free: 10.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.009077, allocations: 4 kB / 470.3 MB, free: 10.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001353/0.009212, allocations: 140.1 kB / 470.4 MB, free: 10.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.009221, allocations: 8.531 kB / 470.4 MB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.009224, allocations: 2.188 kB / 470.4 MB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.009234, allocations: 7.984 kB / 470.4 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.009349, allocations: 41.05 kB / 470.5 MB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.009353, allocations: 7.938 kB / 470.5 MB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.93e-05/0.009422, allocations: 23.88 kB / 470.5 MB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.009433, allocations: 8.703 kB / 470.5 MB, free: 10.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.163e-05/0.009495, allocations: 103.7 kB / 470.6 MB, free: 10.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.442e-05/0.009559, allocations: 119.6 kB / 470.7 MB, free: 9.938 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.156e-05/0.00965, allocations: 122.6 kB / 470.8 MB, free: 9.793 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.52e-07/0.009651, allocations: 0.625 kB / 470.8 MB, free: 9.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001236/0.009775, allocations: 133.7 kB / 471 MB, free: 9.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.683e-06/0.009781, allocations: 11.94 kB / 471 MB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-06/0.009783, allocations: 0.7188 kB / 471 MB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-06/0.009785, allocations: 4 kB / 471 MB, free: 9.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.009871, allocations: 44.69 kB / 471 MB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.009877, allocations: 9.859 kB / 471 MB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.009935, allocations: 21.45 kB / 471.1 MB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.009942, allocations: 7.984 kB / 471.1 MB, free: 9.566 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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 prepare postOptimizeDAE: time 6.818e-05/0.01001, allocations: 188.2 kB / 471.2 MB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.01005, allocations: 24.3 kB / 471.3 MB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.01017, allocations: 119 kB / 471.4 MB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01018, allocations: 5.031 kB / 471.4 MB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.01018, allocations: 0 / 471.4 MB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01018, allocations: 0 / 471.4 MB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.01053, allocations: 430 kB / 471.8 MB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01053, allocations: 0.625 kB / 471.8 MB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.01062, allocations: 36.77 kB / 471.8 MB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.01062, allocations: 0 / 471.8 MB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.01063, allocations: 8 kB / 471.9 MB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.01063, allocations: 9.672 kB / 471.9 MB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01063, allocations: 0.8125 kB / 471.9 MB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.01081, allocations: 390 kB / 472.2 MB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.01085, allocations: 33.41 kB / 472.3 MB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.01087, allocations: 4 kB / 472.3 MB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.01095, allocations: 8 kB / 472.3 MB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.01098, allocations: 11.97 kB / 472.3 MB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.01099, allocations: 9.562 kB / 472.3 MB, free: 8.246 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.117e-05/0.01102, allocations: 45.86 kB / 472.4 MB, free: 8.199 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01102, allocations: 0 / 472.4 MB, free: 8.199 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002472/0.01126, allocations: 91.78 kB / 472.4 MB, free: 8.109 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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 6.22e-05/0.01133, allocations: 85.14 kB / 472.5 MB, free: 8.016 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.01151, allocations: 161.1 kB / 472.7 MB, free: 7.859 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.01151, allocations: 4 kB / 472.7 MB, free: 7.855 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.649e-05/0.01156, allocations: 36.78 kB / 472.7 MB, free: 7.816 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.01178, allocations: 41 kB / 472.8 MB, free: 7.781 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.01231, allocations: 402.4 kB / 473.2 MB, free: 7.344 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.713e-05/0.01237, allocations: 94.22 kB / 473.3 MB, free: 7.234 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.894e-05/0.01245, allocations: 26.06 kB / 473.3 MB, free: 7.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.01255, allocations: 79.36 kB / 473.4 MB, free: 7.141 MB / 426.7 MB Notification: Performance of SimCode: time 4.9e-07/0.01255, allocations: 0 / 473.4 MB, free: 7.141 MB / 426.7 MB Notification: Performance of Templates: time 0.003577/0.01613, allocations: 2.466 MB / 475.8 MB, free: 4.848 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2277671569027007]