Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.0009284/0.0009284, 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.001079/0.001079, allocations: 169 kB / 23.49 MB, free: 1.059 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.9687/0.9687, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.001885/0.001885, allocations: 233.4 kB / 260.5 MB, free: 12.88 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.7345/0.7345, allocations: 138.4 MB / 455.4 MB, free: 1.543 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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.5551 GB, free: 0.832 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.026e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.004943/0.004973, allocations: 0.6157 MB / 0.5557 GB, free: 216 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002811/0.005254, allocations: 83.8 kB / 0.5558 GB, free: 132 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.171e-05/0.005276, allocations: 0 / 0.5558 GB, free: 132 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.005293, allocations: 3.938 kB / 0.5558 GB, free: 128 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.413e-05/0.005337, allocations: 0 / 0.5558 GB, free: 128 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.005565, allocations: 19.91 kB / 0.5558 GB, free: 108 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 6.817e-05/0.005633, allocations: 7.984 kB / 0.5558 GB, free: 100 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.005675, allocations: 4 kB / 0.5558 GB, free: 96 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.516e-05/0.00571, allocations: 4 kB / 0.5558 GB, free: 92 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.856e-05/0.005789, allocations: 15.92 kB / 0.5558 GB, free: 76 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.005804, allocations: 0 / 0.5558 GB, free: 76 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.317e-05/0.005867, allocations: 11.98 kB / 0.5558 GB, free: 64 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.005881, allocations: 0 / 0.5558 GB, free: 64 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.005897, allocations: 3.938 kB / 0.5558 GB, free: 60 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.005999, allocations: 19.97 kB / 0.5559 GB, free: 40 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.006002, allocations: 0 / 0.5559 GB, free: 40 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006003, allocations: 0 / 0.5559 GB, free: 40 kB / 474.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.006008, allocations: 0 / 0.5559 GB, free: 40 kB / 474.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.0003593/0.006367, allocations: 348.4 kB / 0.5562 GB, free: 15.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.006411, allocations: 12.75 kB / 0.5562 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.007625, allocations: 8.922 kB / 0.5562 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.88e-05/0.007704, allocations: 108.6 kB / 0.5563 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.007725, allocations: 384 / 0.5563 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.007734, allocations: 384 / 0.5563 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.007869, allocations: 54.95 kB / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.007875, allocations: 192 / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.007884, allocations: 384 / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.007892, allocations: 384 / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.21e-05/0.007934, allocations: 15.86 kB / 0.5564 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.00807, allocations: 120.9 kB / 0.5565 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.008186, allocations: 47.09 kB / 0.5565 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.008213, allocations: 11.69 kB / 0.5566 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.008226, allocations: 0 / 0.5566 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.00825, allocations: 33.39 kB / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.008252, allocations: 0 / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001585/0.00841, allocations: 53.61 kB / 0.5566 GB, free: 15.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.008445, allocations: 55.41 kB / 0.5567 GB, free: 15.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.585e-05/0.00849, allocations: 142.2 kB / 0.5568 GB, free: 14.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.008503, allocations: 25.7 kB / 0.5569 GB, free: 14.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.008539, allocations: 130.9 kB / 0.557 GB, free: 14.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.008572, allocations: 11.89 kB / 0.557 GB, free: 14.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.008612, allocations: 23.36 kB / 0.557 GB, free: 14.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.008744, allocations: 496.1 kB / 0.5575 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.008765, allocations: 8 kB / 0.5575 GB, free: 14.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.227e-05/0.008777, allocations: 4 kB / 0.5575 GB, free: 14.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.992e-05/0.008827, allocations: 19.67 kB / 0.5575 GB, free: 14.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.008829, allocations: 0 / 0.5575 GB, free: 14.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.53e-05/0.008904, allocations: 45.62 kB / 0.5576 GB, free: 14.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.008921, allocations: 8 kB / 0.5576 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.008925, allocations: 0 / 0.5576 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.008936, allocations: 4 kB / 0.5576 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.009145, allocations: 19.98 kB / 0.5576 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.01021, allocations: 1.798 MB / 0.5593 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.01024, allocations: 8.109 kB / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.01025, allocations: 8 kB / 0.5594 GB, free: 12.13 MB / 490.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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.916e-05/0.01033, allocations: 156.6 kB / 0.5595 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.01034, allocations: 4.266 kB / 0.5595 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.01037, allocations: 7.531 kB / 0.5595 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01037, allocations: 0 / 0.5595 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.01038, allocations: 3.984 kB / 0.5595 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.01038, allocations: 0 / 0.5595 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.757e-05/0.01046, allocations: 120.6 kB / 0.5596 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01046, allocations: 0 / 0.5596 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.01064, allocations: 27.98 kB / 0.5597 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01064, allocations: 3.984 kB / 0.5597 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.01065, allocations: 3.938 kB / 0.5597 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009292/0.01158, allocations: 1.802 MB / 0.5614 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01158, allocations: 0 / 0.5614 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.819e-05/0.01167, allocations: 92.27 kB / 0.5615 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-06/0.01168, allocations: 0 / 0.5615 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-06/0.01168, allocations: 0 / 0.5615 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.0117, allocations: 0 / 0.5615 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.01172, allocations: 7.984 kB / 0.5615 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.01173, allocations: 0 / 0.5615 GB, free: 9.723 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.879e-05/0.01177, allocations: 119.2 kB / 0.5616 GB, free: 9.605 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01177, allocations: 0 / 0.5616 GB, free: 9.605 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.01199, allocations: 8.062 kB / 0.5616 GB, free: 9.598 MB / 490.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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.01212, allocations: 99.25 kB / 0.5617 GB, free: 9.492 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.01238, allocations: 39.59 kB / 0.5618 GB, free: 9.449 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01238, allocations: 4 kB / 0.5618 GB, free: 9.445 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.01253, allocations: 36.06 kB / 0.5618 GB, free: 9.406 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.01269, allocations: 15.94 kB / 0.5618 GB, free: 9.391 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.01298, allocations: 100.7 kB / 0.5619 GB, free: 9.266 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.542e-05/0.01302, allocations: 51.36 kB / 0.562 GB, free: 9.195 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.831e-05/0.01305, allocations: 4 kB / 0.562 GB, free: 9.191 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.01308, allocations: 12.5 kB / 0.562 GB, free: 9.18 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01308, allocations: 0 / 0.562 GB, free: 9.18 MB / 490.7 MB Notification: Performance of Templates: time 0.002532/0.01561, allocations: 488.3 kB / 0.5625 GB, free: 8.715 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6224556958768517]