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.001821/0.001821, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 13.93 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.001983/0.001983, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.553/1.553, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.00321/0.00321, allocations: 242.6 kB / 259.8 MB, free: 12.84 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 1.207/1.207, allocations: 138.4 MB / 454.7 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.182e-06/1.182e-06, allocations: 0 / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.721e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004897/0.004924, allocations: 2.671 MB / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.007696, allocations: 1.336 MB / 0.5582 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.191e-05/0.007788, allocations: 7.938 kB / 0.5582 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007373/0.008525, allocations: 175.2 kB / 0.5584 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.008929, allocations: 171 kB / 0.5586 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.009324, allocations: 171.5 kB / 0.5587 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000395/0.009719, allocations: 275 kB / 0.559 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.01001, allocations: 113.6 kB / 0.5591 GB, free: 11.94 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.01031, allocations: 151.6 kB / 0.5593 GB, free: 11.79 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.01058, allocations: 119.7 kB / 0.5594 GB, free: 11.68 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.01062, allocations: 12 kB / 0.5594 GB, free: 11.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.01087, allocations: 139.5 kB / 0.5595 GB, free: 11.53 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.01097, allocations: 71.81 kB / 0.5596 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.01109, allocations: 67.83 kB / 0.5597 GB, free: 11.39 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.01156, allocations: 299.1 kB / 0.5599 GB, free: 11.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01157, allocations: 0 / 0.5599 GB, free: 11.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01157, allocations: 0 / 0.5599 GB, free: 11.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.01157, allocations: 0 / 0.5599 GB, free: 11.1 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.0008637/0.01244, allocations: 0.5268 MB / 0.5604 GB, free: 10.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.01247, allocations: 8.75 kB / 0.5605 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00058/0.01305, allocations: 104.7 kB / 0.5606 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.0134, allocations: 189.2 kB / 0.5607 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.01342, allocations: 8.656 kB / 0.5607 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.01346, allocations: 16.36 kB / 0.5608 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.01398, allocations: 288.3 kB / 0.561 GB, free: 9.859 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.014, allocations: 192 / 0.561 GB, free: 9.859 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.01402, allocations: 8.312 kB / 0.561 GB, free: 9.852 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.752e-05/0.01408, allocations: 40.12 kB / 0.5611 GB, free: 9.812 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.01444, allocations: 132.7 kB / 0.5612 GB, free: 9.684 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.01627, allocations: 1.357 MB / 0.5625 GB, free: 8.262 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.01669, allocations: 162 kB / 0.5627 GB, free: 8.078 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.01686, allocations: 63.34 kB / 0.5628 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.01688, allocations: 4 kB / 0.5628 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.01693, allocations: 37.39 kB / 0.5628 GB, free: 7.957 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.01693, allocations: 0 / 0.5628 GB, free: 7.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005652/0.0175, allocations: 168.7 kB / 0.563 GB, free: 7.789 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.01756, allocations: 77.11 kB / 0.563 GB, free: 7.695 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.01781, allocations: 245.8 kB / 0.5633 GB, free: 7.438 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.01784, allocations: 29.64 kB / 0.5633 GB, free: 7.402 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.018, allocations: 194.9 kB / 0.5635 GB, free: 7.203 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.203e-05/0.01806, allocations: 63.59 kB / 0.5635 GB, free: 7.141 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.01817, allocations: 55.31 kB / 0.5636 GB, free: 7.078 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002854/0.01846, allocations: 0.504 MB / 0.5641 GB, free: 6.562 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.01861, allocations: 59.66 kB / 0.5641 GB, free: 6.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.01887, allocations: 167.9 kB / 0.5643 GB, free: 6.293 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.01925, allocations: 204.9 kB / 0.5645 GB, free: 6.062 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01926, allocations: 0 / 0.5645 GB, free: 6.062 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004678/0.01972, allocations: 213.3 kB / 0.5647 GB, free: 5.848 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.01974, allocations: 8 kB / 0.5647 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01975, allocations: 0 / 0.5647 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.01976, allocations: 4.219 kB / 0.5647 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.02006, allocations: 59.89 kB / 0.5648 GB, free: 5.777 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.02007, allocations: 7.984 kB / 0.5648 GB, free: 5.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.02024, allocations: 27.83 kB / 0.5648 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.02027, allocations: 15.98 kB / 0.5648 GB, free: 5.727 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004698/0.02074, allocations: 170.9 kB / 0.565 GB, free: 5.555 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000249/0.02099, allocations: 169.8 kB / 0.5651 GB, free: 5.344 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003327/0.02132, allocations: 193.1 kB / 0.5653 GB, free: 5.117 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.02132, allocations: 4 kB / 0.5653 GB, free: 5.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004139/0.02174, allocations: 197.5 kB / 0.5655 GB, free: 4.914 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.02176, allocations: 15.97 kB / 0.5655 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.02176, allocations: 0 / 0.5655 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.02177, allocations: 4 kB / 0.5655 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.02198, allocations: 43.97 kB / 0.5656 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.02199, allocations: 7.938 kB / 0.5656 GB, free: 4.844 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.02214, allocations: 23.88 kB / 0.5656 GB, free: 4.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.02216, allocations: 15.98 kB / 0.5656 GB, free: 4.805 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 0.0001879/0.02235, allocations: 272.1 kB / 0.5659 GB, free: 4.531 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.02243, allocations: 27.84 kB / 0.5659 GB, free: 4.504 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004392/0.02286, allocations: 162.5 kB / 0.5661 GB, free: 4.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.02287, allocations: 4 kB / 0.5661 GB, free: 4.336 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.02287, allocations: 0 / 0.5661 GB, free: 4.336 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.02288, allocations: 0 / 0.5661 GB, free: 4.336 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009607/0.02384, allocations: 0.5076 MB / 0.5666 GB, free: 3.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.02384, allocations: 4 kB / 0.5666 GB, free: 3.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.02407, allocations: 35.97 kB / 0.5666 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.02408, allocations: 7.984 kB / 0.5666 GB, free: 3.723 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.0241, allocations: 8.125 kB / 0.5666 GB, free: 3.715 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.0241, allocations: 7.938 kB / 0.5666 GB, free: 3.707 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.0241, allocations: 0 / 0.5666 GB, free: 3.707 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.02468, allocations: 441.7 kB / 0.567 GB, free: 3.238 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.02479, allocations: 43.77 kB / 0.5671 GB, free: 3.195 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.02483, allocations: 0 / 0.5671 GB, free: 3.195 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.02503, allocations: 27.97 kB / 0.5671 GB, free: 3.168 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.0251, allocations: 11.92 kB / 0.5671 GB, free: 3.156 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.02512, allocations: 8 kB / 0.5671 GB, free: 3.148 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.02527, allocations: 180.2 kB / 0.5673 GB, free: 2.973 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02527, allocations: 0 / 0.5673 GB, free: 2.973 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000485/0.02576, allocations: 91.78 kB / 0.5674 GB, free: 2.883 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 0.0001403/0.0259, allocations: 103.2 kB / 0.5675 GB, free: 2.773 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005751/0.02647, allocations: 231.8 kB / 0.5677 GB, free: 2.539 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.02648, allocations: 4.125 kB / 0.5677 GB, free: 2.535 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.02665, allocations: 71.58 kB / 0.5678 GB, free: 2.461 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.02714, allocations: 43.91 kB / 0.5678 GB, free: 2.418 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008077/0.02795, allocations: 397.5 kB / 0.5682 GB, free: 1.977 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.02812, allocations: 132.2 kB / 0.5683 GB, free: 1.828 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000193/0.02831, allocations: 65.39 kB / 0.5684 GB, free: 1.766 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.051e-05/0.02839, allocations: 16.5 kB / 0.5684 GB, free: 1.75 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02839, allocations: 0 / 0.5684 GB, free: 1.75 MB / 490.7 MB Notification: Performance of Templates: time 0.006581/0.03497, allocations: 2.36 MB / 0.5707 GB, free: 15.43 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: 5.8811107920482755]