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.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.001268/0.001268, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.246/1.246, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00214/0.00214, allocations: 290.4 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8919/0.8919, allocations: 169.3 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 94.61 kB / 0.5959 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1513, allocations: 86.98 MB / 0.6808 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002624/0.154, allocations: 1.431 MB / 0.6822 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002479/0.1543, allocations: 88.62 kB / 0.6823 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.1543, allocations: 4 kB / 0.6823 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.1544, allocations: 7.938 kB / 0.6823 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/0.1544, allocations: 3.938 kB / 0.6823 GB, free: 6.598 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.1546, allocations: 15.98 kB / 0.6824 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.389e-05/0.1547, allocations: 27.92 kB / 0.6824 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.101e-05/0.1548, allocations: 0 / 0.6824 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.1548, allocations: 11.94 kB / 0.6824 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.49e-05/0.1549, allocations: 7.984 kB / 0.6824 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1549, allocations: 4 kB / 0.6824 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.1549, allocations: 19.92 kB / 0.6824 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.155, allocations: 8 kB / 0.6824 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.155, allocations: 19.91 kB / 0.6824 GB, free: 6.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.1551, allocations: 32.19 kB / 0.6825 GB, free: 6.453 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1551, allocations: 0 / 0.6825 GB, free: 6.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1551, allocations: 0 / 0.6825 GB, free: 6.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1551, allocations: 0 / 0.6825 GB, free: 6.453 MB / 494.1 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.0004001/0.1555, allocations: 343.4 kB / 0.6828 GB, free: 6.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1556, allocations: 12.02 kB / 0.6828 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.1557, allocations: 12.92 kB / 0.6828 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1559, allocations: 164.4 kB / 0.683 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1559, allocations: 4.375 kB / 0.683 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.1559, allocations: 4.312 kB / 0.683 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.1561, allocations: 58.22 kB / 0.683 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1561, allocations: 192 / 0.683 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1561, allocations: 3.938 kB / 0.6831 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1561, allocations: 0 / 0.6831 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.1563, allocations: 51.95 kB / 0.6831 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.1567, allocations: 260.9 kB / 0.6834 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1569, allocations: 58.42 kB / 0.6834 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.157, allocations: 36.89 kB / 0.6834 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.157, allocations: 3.938 kB / 0.6834 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1571, allocations: 30.56 kB / 0.6835 GB, free: 5.266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1571, allocations: 0 / 0.6835 GB, free: 5.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003935/0.1575, allocations: 101.7 kB / 0.6836 GB, free: 5.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.1575, allocations: 55.44 kB / 0.6836 GB, free: 5.094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.1576, allocations: 109.8 kB / 0.6837 GB, free: 4.977 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1576, allocations: 25.7 kB / 0.6838 GB, free: 4.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.1576, allocations: 88.08 kB / 0.6838 GB, free: 4.855 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.1577, allocations: 11.89 kB / 0.6838 GB, free: 4.844 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.1577, allocations: 9.719 kB / 0.6839 GB, free: 4.828 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.1578, allocations: 318.8 kB / 0.6842 GB, free: 4.508 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.1579, allocations: 23.97 kB / 0.6842 GB, free: 4.484 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.614e-05/0.158, allocations: 23.97 kB / 0.6842 GB, free: 4.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.1582, allocations: 56.75 kB / 0.6843 GB, free: 4.402 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1582, allocations: 0 / 0.6843 GB, free: 4.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002402/0.1585, allocations: 81.66 kB / 0.6843 GB, free: 4.316 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1585, allocations: 8 kB / 0.6843 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1585, allocations: 0 / 0.6843 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1585, allocations: 3.984 kB / 0.6844 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.764e-05/0.1586, allocations: 11.94 kB / 0.6844 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1586, allocations: 3.984 kB / 0.6844 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/0.1587, allocations: 4 kB / 0.6844 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.1587, allocations: 4.281 kB / 0.6844 GB, free: 4.281 MB / 494.1 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.78e-05/0.1588, allocations: 121.8 kB / 0.6845 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.1588, allocations: 3.906 kB / 0.6845 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.1588, allocations: 3.531 kB / 0.6845 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.1588, allocations: 4 kB / 0.6845 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1589, allocations: 4 kB / 0.6845 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1589, allocations: 0 / 0.6845 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.159, allocations: 165.6 kB / 0.6847 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.159, allocations: 4 kB / 0.6847 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.1591, allocations: 11.98 kB / 0.6847 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1591, allocations: 0 / 0.6847 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1591, allocations: 4 kB / 0.6847 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1591, allocations: 0 / 0.6847 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1591, allocations: 0 / 0.6847 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.1594, allocations: 187.4 kB / 0.6849 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.1595, allocations: 77.11 kB / 0.6849 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1595, allocations: 0 / 0.6849 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.1596, allocations: 7.984 kB / 0.6849 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.1596, allocations: 4 kB / 0.6849 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1596, allocations: 0 / 0.6849 GB, free: 3.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.878e-05/0.1597, allocations: 91.2 kB / 0.685 GB, free: 3.512 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1597, allocations: 0 / 0.685 GB, free: 3.512 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002094/0.1599, allocations: 4 kB / 0.685 GB, free: 3.508 MB / 494.1 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 0.0001026/0.16, allocations: 103.3 kB / 0.6851 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.1602, allocations: 47.95 kB / 0.6852 GB, free: 3.352 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1602, allocations: 0 / 0.6852 GB, free: 3.352 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1604, allocations: 31.91 kB / 0.6852 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.1606, allocations: 14.5 kB / 0.6852 GB, free: 3.309 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.161, allocations: 155.2 kB / 0.6854 GB, free: 3.125 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.1612, allocations: 0.6729 MB / 0.686 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.1613, allocations: 11.44 kB / 0.686 GB, free: 2.414 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1613, allocations: 0 / 0.686 GB, free: 2.414 MB / 494.1 MB Notification: Performance of Templates: time 0.001685/0.163, allocations: 0.6371 MB / 0.6867 GB, free: 1.785 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)