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.0009091/0.0009091, allocations: 81.86 kB / 19.87 MB, free: 4.617 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.000881/0.000881, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9348/0.9348, allocations: 177.1 MB / 203.7 MB, free: 5.473 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.001617/0.001617, allocations: 238.1 kB / 260.5 MB, free: 12.63 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.7251/0.7251, allocations: 138.4 MB / 455.5 MB, free: 1.441 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.653e-06/1.653e-06, allocations: 0 / 0.5556 GB, free: 288 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.22e-05, allocations: 2.312 kB / 0.5556 GB, free: 284 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003972/0.003994, allocations: 2.222 MB / 0.5578 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.005538, allocations: 0.9036 MB / 0.5586 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.005646, allocations: 3.938 kB / 0.5587 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.006105, allocations: 79.59 kB / 0.5587 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.006403, allocations: 131.3 kB / 0.5589 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.006859, allocations: 163.5 kB / 0.559 GB, free: 12.76 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.007215, allocations: 267.1 kB / 0.5593 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.007463, allocations: 121.5 kB / 0.5594 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.007735, allocations: 139.7 kB / 0.5595 GB, free: 12.24 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.00797, allocations: 127.6 kB / 0.5596 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.008009, allocations: 16 kB / 0.5597 GB, free: 12.1 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.008166, allocations: 87.72 kB / 0.5597 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.901e-05/0.008245, allocations: 71.81 kB / 0.5598 GB, free: 11.95 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.312e-05/0.008318, allocations: 63.83 kB / 0.5599 GB, free: 11.88 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.008607, allocations: 195.4 kB / 0.5601 GB, free: 11.69 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.008611, allocations: 0 / 0.5601 GB, free: 11.69 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.008612, allocations: 0 / 0.5601 GB, free: 11.69 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.008617, allocations: 0 / 0.5601 GB, free: 11.69 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.0006121/0.009229, allocations: 0.5037 MB / 0.5605 GB, free: 11.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.009271, allocations: 16.75 kB / 0.5606 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000461/0.009732, allocations: 84.66 kB / 0.5606 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.009979, allocations: 184.2 kB / 0.5608 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.009998, allocations: 16.64 kB / 0.5608 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.01003, allocations: 16.31 kB / 0.5608 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.01037, allocations: 269.1 kB / 0.5611 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.01038, allocations: 4.125 kB / 0.5611 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.0104, allocations: 8.375 kB / 0.5611 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/0.01045, allocations: 36.19 kB / 0.5611 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.01061, allocations: 76.72 kB / 0.5612 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.01174, allocations: 1.272 MB / 0.5625 GB, free: 9.051 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.01224, allocations: 130.1 kB / 0.5626 GB, free: 8.898 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.769e-05/0.01231, allocations: 51.34 kB / 0.5626 GB, free: 8.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.01233, allocations: 7.938 kB / 0.5626 GB, free: 8.832 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.01236, allocations: 41.39 kB / 0.5627 GB, free: 8.781 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/0.01236, allocations: 0 / 0.5627 GB, free: 8.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003244/0.01269, allocations: 125.4 kB / 0.5628 GB, free: 8.652 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.01272, allocations: 81.11 kB / 0.5629 GB, free: 8.555 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.01287, allocations: 225.8 kB / 0.5631 GB, free: 8.316 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.01289, allocations: 25.7 kB / 0.5631 GB, free: 8.285 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/0.01299, allocations: 198.8 kB / 0.5633 GB, free: 8.082 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.01303, allocations: 51.58 kB / 0.5634 GB, free: 8.031 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-05/0.01311, allocations: 55.47 kB / 0.5634 GB, free: 7.969 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.01326, allocations: 0.4962 MB / 0.5639 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.01333, allocations: 39.66 kB / 0.5639 GB, free: 7.418 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.01346, allocations: 148.1 kB / 0.5641 GB, free: 7.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.01365, allocations: 157 kB / 0.5642 GB, free: 7.047 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01366, allocations: 8.031 kB / 0.5642 GB, free: 7.039 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002815/0.01394, allocations: 165.3 kB / 0.5644 GB, free: 6.871 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.01395, allocations: 7.984 kB / 0.5644 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01396, allocations: 4 kB / 0.5644 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01398, allocations: 4 kB / 0.5644 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.01418, allocations: 43.92 kB / 0.5644 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01419, allocations: 4 kB / 0.5645 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.01431, allocations: 28.05 kB / 0.5645 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.01433, allocations: 8 kB / 0.5645 GB, free: 6.773 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001095/0.01444, allocations: 154.9 kB / 0.5646 GB, free: 6.617 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001195/0.01456, allocations: 151.5 kB / 0.5648 GB, free: 6.422 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001654/0.01472, allocations: 149.1 kB / 0.5649 GB, free: 6.238 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.375e-06/0.01472, allocations: 3.984 kB / 0.5649 GB, free: 6.234 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002519/0.01497, allocations: 160.9 kB / 0.5651 GB, free: 6.074 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.01499, allocations: 7.938 kB / 0.5651 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.01499, allocations: 4 kB / 0.5651 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.015, allocations: 7.984 kB / 0.5651 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.01515, allocations: 35.98 kB / 0.5651 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01516, allocations: 12.19 kB / 0.5651 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.01526, allocations: 23.88 kB / 0.5652 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.01528, allocations: 8 kB / 0.5652 GB, free: 5.977 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.0001117/0.01539, allocations: 272.1 kB / 0.5654 GB, free: 5.703 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.01545, allocations: 27.78 kB / 0.5655 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.01569, allocations: 127 kB / 0.5656 GB, free: 5.547 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.0157, allocations: 4 kB / 0.5656 GB, free: 5.543 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.0157, allocations: 3.938 kB / 0.5656 GB, free: 5.539 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.0157, allocations: 0 / 0.5656 GB, free: 5.539 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005745/0.01628, allocations: 436.5 kB / 0.566 GB, free: 5.062 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.01628, allocations: 4 kB / 0.566 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.01643, allocations: 27.98 kB / 0.566 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01643, allocations: 0 / 0.566 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.01644, allocations: 11.94 kB / 0.566 GB, free: 5.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01645, allocations: 0 / 0.566 GB, free: 5.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.01645, allocations: 4 kB / 0.566 GB, free: 5.016 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.01676, allocations: 425.6 kB / 0.5665 GB, free: 4.562 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.01683, allocations: 27.88 kB / 0.5665 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.01685, allocations: 12.12 kB / 0.5665 GB, free: 4.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.01701, allocations: 8 kB / 0.5665 GB, free: 4.516 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.01705, allocations: 19.91 kB / 0.5665 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.01706, allocations: 4 kB / 0.5665 GB, free: 4.492 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.937e-05/0.01715, allocations: 172.1 kB / 0.5667 GB, free: 4.324 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01715, allocations: 0 / 0.5667 GB, free: 4.324 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005056/0.01766, allocations: 87.78 kB / 0.5668 GB, free: 4.238 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.0001041/0.01776, allocations: 99.19 kB / 0.5669 GB, free: 4.133 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.01806, allocations: 172.9 kB / 0.567 GB, free: 3.957 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01807, allocations: 0 / 0.567 GB, free: 3.957 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.01815, allocations: 58.62 kB / 0.5671 GB, free: 3.898 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.01864, allocations: 44.84 kB / 0.5671 GB, free: 3.859 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007838/0.01942, allocations: 393.5 kB / 0.5675 GB, free: 3.422 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.479e-05/0.0195, allocations: 92.25 kB / 0.5676 GB, free: 3.312 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.01962, allocations: 25.47 kB / 0.5676 GB, free: 3.289 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.01978, allocations: 102.2 kB / 0.5677 GB, free: 3.188 MB / 490.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01978, allocations: 0 / 0.5677 GB, free: 3.188 MB / 490.7 MB Notification: Performance of Templates: time 0.006109/0.02589, allocations: 2.528 MB / 0.5702 GB, free: 0.6992 MB / 490.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.2770394938997924]