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.000869/0.000869, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007132/0.008001, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009212/0.0009212, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002153, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9605/0.9605, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07963/1.04, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001205/0.001205, allocations: 230.2 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009928/0.002198, allocations: 479.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7296/0.7296, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06808/0.7977, allocations: 42.4 MB / 426.7 MB, free: 5.832 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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 2.404e-06/2.404e-06, allocations: 4 kB / 428.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.73e-05, allocations: 2.312 kB / 428.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.001795/0.001812, allocations: 1.553 MB / 429.6 MB, free: 2.902 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001445/0.001957, allocations: 88.58 kB / 429.7 MB, free: 2.812 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.00198, allocations: 0 / 429.7 MB, free: 2.812 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.003e-05/0.002, allocations: 7.875 kB / 429.7 MB, free: 2.805 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.93e-05/0.002019, allocations: 0 / 429.7 MB, free: 2.805 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.447e-05/0.002093, allocations: 11.98 kB / 429.7 MB, free: 2.793 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.717e-05/0.002151, allocations: 31.92 kB / 429.8 MB, free: 2.762 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.488e-05/0.002216, allocations: 11.88 kB / 429.8 MB, free: 2.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.573e-05/0.002281, allocations: 19.97 kB / 429.8 MB, free: 2.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.656e-05/0.002318, allocations: 7.984 kB / 429.8 MB, free: 2.723 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.002334, allocations: 4 kB / 429.8 MB, free: 2.719 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.019e-05/0.002404, allocations: 15.98 kB / 429.8 MB, free: 2.703 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.002419, allocations: 7.938 kB / 429.8 MB, free: 2.695 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.331e-05/0.002432, allocations: 4 kB / 429.8 MB, free: 2.691 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.067e-05/0.002523, allocations: 23.92 kB / 429.9 MB, free: 2.668 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.002533, allocations: 0 / 429.9 MB, free: 2.668 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.002534, allocations: 7.938 kB / 429.9 MB, free: 2.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.002541, allocations: 0 / 429.9 MB, free: 2.66 MB / 410.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.000285/0.002826, allocations: 244.6 kB / 430.1 MB, free: 2.395 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.002856, allocations: 11.98 kB / 430.1 MB, free: 2.383 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.003003, allocations: 90.03 kB / 430.2 MB, free: 2.277 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.304e-05/0.003076, allocations: 113.8 kB / 430.3 MB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.003086, allocations: 384 / 430.3 MB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.003095, allocations: 4.375 kB / 430.3 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.184e-05/0.003187, allocations: 58.88 kB / 430.4 MB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.419e-06/0.003192, allocations: 192 / 430.4 MB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.003197, allocations: 4.375 kB / 430.4 MB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.003202, allocations: 4.359 kB / 430.4 MB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.167e-05/0.003224, allocations: 7.938 kB / 430.4 MB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.003422, allocations: 160.3 kB / 430.6 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.548e-05/0.003468, allocations: 26.56 kB / 430.6 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.003484, allocations: 12.86 kB / 430.6 MB, free: 1.832 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.003493, allocations: 0 / 430.6 MB, free: 1.832 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.003511, allocations: 30.56 kB / 430.6 MB, free: 1.793 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 5.01e-07/0.003512, allocations: 4 kB / 430.6 MB, free: 1.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 9.542e-05/0.003607, allocations: 41.69 kB / 430.7 MB, free: 1.742 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.003632, allocations: 55.34 kB / 430.7 MB, free: 1.676 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.755e-05/0.00368, allocations: 110.7 kB / 430.8 MB, free: 1.555 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.003689, allocations: 25.7 kB / 430.9 MB, free: 1.523 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.003716, allocations: 84.12 kB / 430.9 MB, free: 1.438 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.003731, allocations: 7.891 kB / 430.9 MB, free: 1.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.003755, allocations: 13.72 kB / 431 MB, free: 1.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.003822, allocations: 318.8 kB / 431.3 MB, free: 1.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.003834, allocations: 3.938 kB / 431.3 MB, free: 1.086 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.003842, allocations: 4 kB / 431.3 MB, free: 1.082 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.003865, allocations: 17.03 kB / 431.3 MB, free: 1.062 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.003866, allocations: 0 / 431.3 MB, free: 1.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.308e-05/0.003909, allocations: 37.69 kB / 431.3 MB, free: 1.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.003921, allocations: 4 kB / 431.3 MB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.003925, allocations: 0 / 431.3 MB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.003934, allocations: 0 / 431.3 MB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/0.003996, allocations: 19.86 kB / 431.4 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.003999, allocations: 0 / 431.4 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.004017, allocations: 11.94 kB / 431.4 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-06/0.00402, allocations: 4.031 kB / 431.4 MB, free: 0.9805 MB / 410.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 4.562e-05/0.004065, allocations: 109.8 kB / 431.5 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.004078, allocations: 4 kB / 431.5 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.004101, allocations: 7.609 kB / 431.5 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.004103, allocations: 0 / 431.5 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.004105, allocations: 3.938 kB / 431.5 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.004109, allocations: 4 kB / 431.5 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.194e-05/0.004191, allocations: 61.91 kB / 431.6 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.004192, allocations: 0 / 431.6 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.004218, allocations: 11.98 kB / 431.6 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.004224, allocations: 7.953 kB / 431.6 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-07/0.004225, allocations: 0 / 431.6 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-06/0.004228, allocations: 0 / 431.6 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.004229, allocations: 0 / 431.6 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.004231, allocations: 7.938 kB / 431.6 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.841e-05/0.004309, allocations: 135.7 kB / 431.7 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-06/0.004317, allocations: 0 / 431.7 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.39e-05/0.004351, allocations: 11.98 kB / 431.7 MB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.004375, allocations: 0 / 431.7 MB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.004377, allocations: 0 / 431.7 MB, free: 0.582 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.457e-05/0.004392, allocations: 24.81 kB / 431.8 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004392, allocations: 0 / 431.8 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001097/0.004501, allocations: 4 kB / 431.8 MB, free: 0.5508 MB / 410.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 6.322e-05/0.004565, allocations: 84.41 kB / 431.8 MB, free: 468 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.429e-05/0.004619, allocations: 8.859 kB / 431.8 MB, free: 456 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.004624, allocations: 4 kB / 431.8 MB, free: 452 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.997e-05/0.004644, allocations: 12.8 kB / 431.9 MB, free: 436 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.004784, allocations: 33.69 kB / 431.9 MB, free: 396 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.005098, allocations: 131.9 kB / 432 MB, free: 240 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.259e-05/0.00513, allocations: 55.3 kB / 432.1 MB, free: 164 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.759e-05/0.005148, allocations: 0 / 432.1 MB, free: 164 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.005193, allocations: 51.38 kB / 432.1 MB, free: 112 kB / 410.7 MB Notification: Performance of SimCode: time 6.22e-07/0.005193, allocations: 0 / 432.1 MB, free: 112 kB / 410.7 MB Notification: Performance of Templates: time 0.1633/0.1685, allocations: 0.5653 MB / 432.7 MB, free: 2.789 MB / 410.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.2687930995598435]