Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.0008783/0.0008783, allocations: 80.94 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.0009291/0.0009291, allocations: 177 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.9462/0.9462, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.001993/0.001993, allocations: 246.3 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.7302/0.7302, allocations: 138.4 MB / 402.2 MB, free: 0.5547 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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.298e-05, allocations: 3.844 kB / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.003004/0.003027, allocations: 1.503 MB / 463.8 MB, free: 15.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002841/0.003311, allocations: 91.38 kB / 463.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.003348, allocations: 3.25 kB / 463.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.003377, allocations: 0.5156 kB / 463.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.003432, allocations: 7.672 kB / 463.9 MB, free: 15.85 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.003635, allocations: 20.69 kB / 463.9 MB, free: 15.84 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.218e-05/0.003717, allocations: 28.34 kB / 464 MB, free: 15.83 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.663e-05/0.003794, allocations: 4.141 kB / 464 MB, free: 15.83 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.333e-05/0.003857, allocations: 12.16 kB / 464 MB, free: 15.83 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.953e-05/0.003896, allocations: 13.88 kB / 464 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.003913, allocations: 1.375 kB / 464 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.604e-05/0.003979, allocations: 12.59 kB / 464 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.003999, allocations: 11.22 kB / 464 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.004018, allocations: 6.297 kB / 464 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.00413, allocations: 26.98 kB / 464.1 MB, free: 15.81 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.004136, allocations: 4 kB / 464.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004137, allocations: 0 / 464.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004141, allocations: 1.594 kB / 464.1 MB, free: 15.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003138/0.004455, allocations: 241 kB / 464.3 MB, free: 15.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.004493, allocations: 10.75 kB / 464.3 MB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.004651, allocations: 12.06 kB / 464.3 MB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.421e-05/0.004745, allocations: 114.5 kB / 464.4 MB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.004759, allocations: 2.125 kB / 464.4 MB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.00477, allocations: 5.375 kB / 464.4 MB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.004907, allocations: 58.12 kB / 464.5 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.004914, allocations: 0.75 kB / 464.5 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.004922, allocations: 1.703 kB / 464.5 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.004929, allocations: 1.531 kB / 464.5 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.143e-05/0.00496, allocations: 9.375 kB / 464.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.005212, allocations: 160 kB / 464.7 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.165e-05/0.005274, allocations: 26.5 kB / 464.7 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.005293, allocations: 9.547 kB / 464.7 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.005305, allocations: 0.75 kB / 464.7 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.00533, allocations: 38.08 kB / 464.7 MB, free: 15.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.005331, allocations: 1.344 kB / 464.7 MB, free: 15.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001279/0.005458, allocations: 41.06 kB / 464.8 MB, free: 15.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.005496, allocations: 55.34 kB / 464.8 MB, free: 15.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.005562, allocations: 107.6 kB / 464.9 MB, free: 14.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.005572, allocations: 25.7 kB / 465 MB, free: 14.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.005608, allocations: 91.45 kB / 465.1 MB, free: 14.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.005625, allocations: 5.594 kB / 465.1 MB, free: 14.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.005658, allocations: 14.95 kB / 465.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.005746, allocations: 318.2 kB / 465.4 MB, free: 14.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.005761, allocations: 2.406 kB / 465.4 MB, free: 14.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307e-05/0.005774, allocations: 3.375 kB / 465.4 MB, free: 14.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.173e-05/0.005806, allocations: 14.09 kB / 465.4 MB, free: 14.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005807, allocations: 0 / 465.4 MB, free: 14.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.957e-05/0.005877, allocations: 42.16 kB / 465.4 MB, free: 14.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.005889, allocations: 4.469 kB / 465.4 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.005895, allocations: 2.5 kB / 465.4 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.005907, allocations: 0 / 465.4 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.986e-05/0.005987, allocations: 14.3 kB / 465.5 MB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.00599, allocations: 0 / 465.5 MB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.00602, allocations: 6.609 kB / 465.5 MB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.006025, allocations: 0.6094 kB / 465.5 MB, free: 14.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.324e-05/0.006088, allocations: 114.2 kB / 465.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.006112, allocations: 2.406 kB / 465.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.006137, allocations: 6.625 kB / 465.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.006139, allocations: 1 kB / 465.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.006143, allocations: 5.203 kB / 465.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.006146, allocations: 1.094 kB / 465.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.006266, allocations: 66.83 kB / 465.7 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.006268, allocations: 4.078 kB / 465.7 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.006307, allocations: 8 kB / 465.7 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.00631, allocations: 0.7031 kB / 465.7 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.006315, allocations: 1.094 kB / 465.7 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006316, allocations: 0.875 kB / 465.7 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.006318, allocations: 0.75 kB / 465.7 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.006425, allocations: 141.8 kB / 465.8 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-06/0.006431, allocations: 3.922 kB / 465.8 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.006442, allocations: 1.672 kB / 465.8 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.81e-05/0.0065, allocations: 6.453 kB / 465.8 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.006526, allocations: 2.844 kB / 465.8 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.00653, allocations: 0 / 465.8 MB, free: 14.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.059e-05/0.006551, allocations: 21.53 kB / 465.9 MB, free: 14.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006551, allocations: 0 / 465.9 MB, free: 14.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005414/0.007092, allocations: 6.062 kB / 465.9 MB, free: 14.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.667e-05/0.007189, allocations: 76.11 kB / 465.9 MB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.508e-05/0.007264, allocations: 19.3 kB / 466 MB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.007267, allocations: 1.438 kB / 466 MB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.025e-05/0.007287, allocations: 12.33 kB / 466 MB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.007466, allocations: 5.281 kB / 466 MB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.007723, allocations: 119.3 kB / 466.1 MB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.823e-05/0.007761, allocations: 57.11 kB / 466.1 MB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.296e-05/0.007784, allocations: 0.875 kB / 466.1 MB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.007834, allocations: 52.69 kB / 466.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007834, allocations: 0 / 466.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of Templates: time 0.002808/0.01064, allocations: 0.6621 MB / 466.9 MB, free: 13.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6401184988208115]