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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005206/0.005206, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 202 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001971/0.001971, allocations: 282.7 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9492/0.9492, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 99.84 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1574, allocations: 86.98 MB / 0.7664 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001645/0.159, allocations: 0.5838 MB / 0.767 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002724/0.1593, allocations: 91.73 kB / 0.7671 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.848e-05/0.1594, allocations: 0 / 0.7671 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.108e-05/0.1594, allocations: 4 kB / 0.7671 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.38e-05/0.1594, allocations: 3.984 kB / 0.7671 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.1596, allocations: 19.97 kB / 0.7671 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.475e-05/0.1597, allocations: 7.875 kB / 0.7671 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.1597, allocations: 4 kB / 0.7671 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.542e-05/0.1598, allocations: 0 / 0.7671 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.1598, allocations: 11.94 kB / 0.7671 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1599, allocations: 0 / 0.7671 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.451e-05/0.1599, allocations: 11.98 kB / 0.7672 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.1599, allocations: 7.984 kB / 0.7672 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.16, allocations: 7.938 kB / 0.7672 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.552e-05/0.16, allocations: 15.97 kB / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1601, allocations: 0 / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1601, allocations: 0 / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.1601, allocations: 0 / 0.7672 GB, free: 7.609 MB / 0.5606 GB 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.0003136/0.1604, allocations: 319.5 kB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.1604, allocations: 12.03 kB / 0.7675 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.1606, allocations: 8.922 kB / 0.7675 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.13e-05/0.1607, allocations: 164.4 kB / 0.7677 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1607, allocations: 384 / 0.7677 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.1607, allocations: 4.375 kB / 0.7677 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1608, allocations: 38.25 kB / 0.7677 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1608, allocations: 4.125 kB / 0.7677 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1608, allocations: 3.938 kB / 0.7677 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1608, allocations: 0 / 0.7677 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.56e-05/0.1609, allocations: 19.97 kB / 0.7677 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.1611, allocations: 157.6 kB / 0.7679 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.1612, allocations: 38.61 kB / 0.7679 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.1613, allocations: 16.91 kB / 0.7679 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1613, allocations: 0 / 0.7679 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1613, allocations: 30.56 kB / 0.768 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.1613, allocations: 3.938 kB / 0.768 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001961/0.1615, allocations: 73.5 kB / 0.768 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.1616, allocations: 51.41 kB / 0.7681 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.765e-05/0.1616, allocations: 89.86 kB / 0.7682 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.1616, allocations: 25.7 kB / 0.7682 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.073e-05/0.1617, allocations: 80.14 kB / 0.7683 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.1617, allocations: 7.953 kB / 0.7683 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.1617, allocations: 17.7 kB / 0.7683 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1619, allocations: 318.8 kB / 0.7686 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.1619, allocations: 4 kB / 0.7686 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.28e-05/0.1619, allocations: 11.98 kB / 0.7686 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.819e-05/0.162, allocations: 24.78 kB / 0.7686 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.162, allocations: 0 / 0.7686 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001003/0.1621, allocations: 45.69 kB / 0.7687 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.1621, allocations: 4 kB / 0.7687 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1622, allocations: 3.984 kB / 0.7687 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1622, allocations: 15.88 kB / 0.7687 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.1625, allocations: 43.92 kB / 0.7687 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.1638, allocations: 1.397 MB / 0.7701 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.1638, allocations: 4.031 kB / 0.7701 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1638, allocations: 3.984 kB / 0.7701 GB, free: 4.238 MB / 0.5606 GB 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.044e-05/0.1639, allocations: 110.4 kB / 0.7702 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.1639, allocations: 4.328 kB / 0.7702 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.475e-05/0.1639, allocations: 7.5 kB / 0.7702 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1639, allocations: 8.047 kB / 0.7702 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.22e-07/0.1639, allocations: 0 / 0.7702 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1639, allocations: 0 / 0.7702 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.615e-05/0.164, allocations: 161.6 kB / 0.7704 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.164, allocations: 0 / 0.7704 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.1644, allocations: 47.92 kB / 0.7704 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1644, allocations: 4 kB / 0.7704 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1644, allocations: 4 kB / 0.7705 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.1655, allocations: 1.397 MB / 0.7718 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1655, allocations: 0 / 0.7718 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.1656, allocations: 81.12 kB / 0.7719 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.1657, allocations: 77.11 kB / 0.772 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-06/0.1657, allocations: 7.938 kB / 0.772 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.634e-05/0.1657, allocations: 7.922 kB / 0.772 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.1658, allocations: 4 kB / 0.772 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1658, allocations: 4 kB / 0.772 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.288e-05/0.1658, allocations: 75.28 kB / 0.7721 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1658, allocations: 4 kB / 0.7721 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001892/0.166, allocations: 4 kB / 0.7721 GB, free: 2.004 MB / 0.5606 GB 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.0001073/0.1661, allocations: 95.25 kB / 0.7722 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000442/0.1665, allocations: 67.84 kB / 0.7722 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1666, allocations: 4 kB / 0.7722 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.1668, allocations: 35.94 kB / 0.7723 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.1669, allocations: 10.34 kB / 0.7723 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.1672, allocations: 92.94 kB / 0.7724 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.1674, allocations: 0.6729 MB / 0.773 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.883e-05/0.1674, allocations: 4 kB / 0.773 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.1675, allocations: 15.42 kB / 0.773 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.1675, allocations: 0 / 0.773 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of Templates: time 0.002066/0.1696, allocations: 427.2 kB / 0.7734 GB, free: 0.5352 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)