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.0008617/0.0008617, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0008835/0.0008835, allocations: 173 kB / 23.5 MB, free: 1.055 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.9364/0.9364, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.001619/0.001619, allocations: 236.7 kB / 260.5 MB, free: 12.87 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.7073/0.7073, allocations: 138.4 MB / 455.4 MB, free: 1.496 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.122e-06/1.122e-06, allocations: 0 / 0.5551 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.813e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.832 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002817/0.002836, allocations: 2.694 MB / 0.5577 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.004299, allocations: 1.344 MB / 0.559 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.955e-05/0.004389, allocations: 7.938 kB / 0.559 GB, free: 12.76 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005275/0.004916, allocations: 195.2 kB / 0.5592 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.005195, allocations: 171 kB / 0.5594 GB, free: 12.4 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.005452, allocations: 163.5 kB / 0.5595 GB, free: 12.24 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.00573, allocations: 267.1 kB / 0.5598 GB, free: 11.98 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.005998, allocations: 121.5 kB / 0.5599 GB, free: 11.86 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.006234, allocations: 151.6 kB / 0.56 GB, free: 11.71 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.006429, allocations: 115.7 kB / 0.5601 GB, free: 11.6 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.006455, allocations: 16 kB / 0.5602 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.006617, allocations: 131.6 kB / 0.5603 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.006684, allocations: 67.81 kB / 0.5603 GB, free: 11.39 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.036e-05/0.006744, allocations: 67.83 kB / 0.5604 GB, free: 11.32 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.007004, allocations: 235.2 kB / 0.5606 GB, free: 11.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.007007, allocations: 4 kB / 0.5606 GB, free: 11.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.007007, allocations: 0 / 0.5606 GB, free: 11.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.007012, allocations: 0 / 0.5606 GB, free: 11.09 MB / 490.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.0005191/0.007531, allocations: 0.5154 MB / 0.5611 GB, free: 10.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.007565, allocations: 8.75 kB / 0.5612 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.00794, allocations: 104.6 kB / 0.5613 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.008148, allocations: 184.3 kB / 0.5614 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.00816, allocations: 12.66 kB / 0.5614 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.008184, allocations: 24.34 kB / 0.5615 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.008485, allocations: 285 kB / 0.5617 GB, free: 9.855 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.008492, allocations: 192 / 0.5617 GB, free: 9.855 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.008511, allocations: 8.375 kB / 0.5617 GB, free: 9.848 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/0.008549, allocations: 32.19 kB / 0.5618 GB, free: 9.816 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.008709, allocations: 100.7 kB / 0.5619 GB, free: 9.719 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009154/0.009625, allocations: 1.333 MB / 0.5632 GB, free: 8.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.009846, allocations: 150.1 kB / 0.5633 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.009919, allocations: 51.36 kB / 0.5634 GB, free: 8.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.009933, allocations: 4 kB / 0.5634 GB, free: 8.086 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.009956, allocations: 45.31 kB / 0.5634 GB, free: 8.031 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.009958, allocations: 0 / 0.5634 GB, free: 8.031 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002955/0.01025, allocations: 133.5 kB / 0.5635 GB, free: 7.895 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.01028, allocations: 77.11 kB / 0.5636 GB, free: 7.801 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.0104, allocations: 226 kB / 0.5638 GB, free: 7.562 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.01042, allocations: 29.7 kB / 0.5639 GB, free: 7.527 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.992e-05/0.0105, allocations: 198.8 kB / 0.564 GB, free: 7.324 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.01053, allocations: 51.59 kB / 0.5641 GB, free: 7.273 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.01059, allocations: 47.36 kB / 0.5641 GB, free: 7.219 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.0107, allocations: 0.5001 MB / 0.5646 GB, free: 6.707 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.719e-05/0.01077, allocations: 43.67 kB / 0.5647 GB, free: 6.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.01088, allocations: 152.1 kB / 0.5648 GB, free: 6.469 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.01105, allocations: 177.3 kB / 0.565 GB, free: 6.262 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01105, allocations: 0 / 0.565 GB, free: 6.262 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002259/0.01128, allocations: 192.8 kB / 0.5652 GB, free: 6.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.01129, allocations: 4 kB / 0.5652 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01129, allocations: 4.219 kB / 0.5652 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.01131, allocations: 4 kB / 0.5652 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.01146, allocations: 55.89 kB / 0.5652 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.01147, allocations: 4 kB / 0.5652 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.785e-05/0.01156, allocations: 35.81 kB / 0.5653 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.01157, allocations: 8 kB / 0.5653 GB, free: 5.957 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.958e-05/0.01166, allocations: 158.9 kB / 0.5654 GB, free: 5.797 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.744e-05/0.01176, allocations: 159.5 kB / 0.5656 GB, free: 5.594 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001353/0.01189, allocations: 173 kB / 0.5657 GB, free: 5.387 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.01189, allocations: 4 kB / 0.5657 GB, free: 5.383 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001919/0.01209, allocations: 169.4 kB / 0.5659 GB, free: 5.211 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/0.01209, allocations: 12.25 kB / 0.5659 GB, free: 5.199 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/0.01209, allocations: 3.938 kB / 0.5659 GB, free: 5.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.568e-06/0.0121, allocations: 7.984 kB / 0.5659 GB, free: 5.188 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.0122, allocations: 51.89 kB / 0.566 GB, free: 5.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.01221, allocations: 4 kB / 0.566 GB, free: 5.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.132e-05/0.01228, allocations: 23.88 kB / 0.566 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.01229, allocations: 8 kB / 0.566 GB, free: 5.102 MB / 490.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 9.199e-05/0.01238, allocations: 280 kB / 0.5663 GB, free: 4.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.01242, allocations: 23.84 kB / 0.5663 GB, free: 4.797 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.01261, allocations: 142.5 kB / 0.5664 GB, free: 4.656 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01261, allocations: 8 kB / 0.5665 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01261, allocations: 0 / 0.5665 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01262, allocations: 3.984 kB / 0.5665 GB, free: 4.645 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.01306, allocations: 471.9 kB / 0.5669 GB, free: 4.125 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01306, allocations: 4 kB / 0.5669 GB, free: 4.121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.01317, allocations: 51.89 kB / 0.567 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01317, allocations: 4 kB / 0.567 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.01318, allocations: 0 / 0.567 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01319, allocations: 8.062 kB / 0.567 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01319, allocations: 4 kB / 0.567 GB, free: 4.055 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.01342, allocations: 433.6 kB / 0.5674 GB, free: 3.594 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.01347, allocations: 35.89 kB / 0.5674 GB, free: 3.559 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.01349, allocations: 0 / 0.5674 GB, free: 3.559 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.62e-05/0.01358, allocations: 15.98 kB / 0.5674 GB, free: 3.543 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.01363, allocations: 19.91 kB / 0.5675 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.01364, allocations: 8 kB / 0.5675 GB, free: 3.516 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.614e-05/0.0137, allocations: 164.2 kB / 0.5676 GB, free: 3.355 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0137, allocations: 0 / 0.5676 GB, free: 3.355 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002987/0.014, allocations: 91.84 kB / 0.5677 GB, free: 3.266 MB / 490.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 7.489e-05/0.01408, allocations: 107.1 kB / 0.5678 GB, free: 3.152 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.01434, allocations: 188.9 kB / 0.568 GB, free: 2.961 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01434, allocations: 0 / 0.568 GB, free: 2.961 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.455e-05/0.01441, allocations: 56.58 kB / 0.568 GB, free: 2.902 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.01471, allocations: 44.28 kB / 0.5681 GB, free: 2.859 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006458/0.01536, allocations: 401.4 kB / 0.5685 GB, free: 2.414 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.773e-05/0.01541, allocations: 92.25 kB / 0.5686 GB, free: 2.305 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.01553, allocations: 61.39 kB / 0.5686 GB, free: 2.246 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.01558, allocations: 16.5 kB / 0.5686 GB, free: 2.23 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01558, allocations: 4 kB / 0.5686 GB, free: 2.227 MB / 490.7 MB Notification: Performance of Templates: time 0.003781/0.01936, allocations: 2.359 MB / 0.5709 GB, free: 15.91 MB / 0.4948 GB " [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.4573445809073746]