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.0009856/0.0009855, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001204/0.001204, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001694/0.001694, allocations: 267 kB / 291.4 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.905/0.905, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004284, allocations: 13.22 kB / 0.598 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1695, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.001444/0.171, allocations: 1.151 MB / 0.6856 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002206/0.1712, allocations: 84.62 kB / 0.6857 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.1713, allocations: 0 / 0.6857 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.1713, allocations: 0 / 0.6857 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.1714, allocations: 4.781 kB / 0.6857 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.1715, allocations: 14.27 kB / 0.6857 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.372e-05/0.1716, allocations: 23.92 kB / 0.6857 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.192e-05/0.1716, allocations: 4 kB / 0.6857 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.489e-05/0.1717, allocations: 8 kB / 0.6857 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.796e-05/0.1717, allocations: 15.91 kB / 0.6858 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1717, allocations: 0 / 0.6858 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.031e-05/0.1718, allocations: 18.05 kB / 0.6858 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.754e-06/0.1718, allocations: 0 / 0.6858 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.1718, allocations: 29.7 kB / 0.6858 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.814e-05/0.1719, allocations: 20.23 kB / 0.6858 GB, free: 14.08 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1719, allocations: 0 / 0.6858 GB, free: 14.08 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.1719, allocations: 0 / 0.6858 GB, free: 14.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1719, allocations: 4.531 kB / 0.6858 GB, free: 14.08 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.0003722/0.1723, allocations: 344.9 kB / 0.6862 GB, free: 13.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1724, allocations: 9.125 kB / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.1725, allocations: 24.55 kB / 0.6862 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1726, allocations: 163 kB / 0.6863 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1726, allocations: 3.188 kB / 0.6863 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.1727, allocations: 4 kB / 0.6863 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1728, allocations: 61.66 kB / 0.6864 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1729, allocations: 0 / 0.6864 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1729, allocations: 4 kB / 0.6864 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1729, allocations: 5.281 kB / 0.6864 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.1731, allocations: 58.27 kB / 0.6865 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.1735, allocations: 270.4 kB / 0.6867 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1737, allocations: 68.77 kB / 0.6868 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1738, allocations: 40.88 kB / 0.6868 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.1738, allocations: 0 / 0.6868 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.1738, allocations: 30.56 kB / 0.6869 GB, free: 12.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1738, allocations: 0 / 0.6869 GB, free: 12.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003831/0.1742, allocations: 137.6 kB / 0.687 GB, free: 12.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.1742, allocations: 55.36 kB / 0.687 GB, free: 12.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.102e-05/0.1743, allocations: 109.8 kB / 0.6872 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1743, allocations: 25.7 kB / 0.6872 GB, free: 12.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.1744, allocations: 88.08 kB / 0.6873 GB, free: 12.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.1744, allocations: 11.89 kB / 0.6873 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.1744, allocations: 0 / 0.6873 GB, free: 12.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.1745, allocations: 314.8 kB / 0.6876 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.652e-05/0.1746, allocations: 32.02 kB / 0.6876 GB, free: 12.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.672e-05/0.1747, allocations: 31.97 kB / 0.6876 GB, free: 12.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.214e-05/0.1748, allocations: 32.05 kB / 0.6877 GB, free: 12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1748, allocations: 0 / 0.6877 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002315/0.1751, allocations: 101.6 kB / 0.6878 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.1751, allocations: 4 kB / 0.6878 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1751, allocations: 0 / 0.6878 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.1751, allocations: 0 / 0.6878 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1752, allocations: 15.98 kB / 0.6878 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1752, allocations: 3.938 kB / 0.6878 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.099e-05/0.1753, allocations: 19.97 kB / 0.6878 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.1753, allocations: 4 kB / 0.6878 GB, free: 11.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.1754, allocations: 106.5 kB / 0.6879 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.1754, allocations: 4 kB / 0.6879 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.1754, allocations: 7.531 kB / 0.6879 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1754, allocations: 0 / 0.6879 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1754, allocations: 0 / 0.6879 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1754, allocations: 3.984 kB / 0.6879 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.1756, allocations: 165.6 kB / 0.6881 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1756, allocations: 4 kB / 0.6881 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/0.1757, allocations: 16.23 kB / 0.6881 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.1757, allocations: 0 / 0.6881 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1757, allocations: 8 kB / 0.6881 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1757, allocations: 0 / 0.6881 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1757, allocations: 0 / 0.6881 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.176, allocations: 195.3 kB / 0.6883 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.176, allocations: 85.03 kB / 0.6884 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1761, allocations: 4 kB / 0.6884 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.1761, allocations: 16.02 kB / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/0.1762, allocations: 0 / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1762, allocations: 0 / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.474e-05/0.1762, allocations: 83.28 kB / 0.6885 GB, free: 11.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1762, allocations: 0 / 0.6885 GB, free: 11.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002078/0.1765, allocations: 8 kB / 0.6885 GB, free: 11.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001084/0.1766, allocations: 99.23 kB / 0.6886 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.1768, allocations: 63.95 kB / 0.6886 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1768, allocations: 0 / 0.6886 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1769, allocations: 43.97 kB / 0.6887 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.1772, allocations: 5.844 kB / 0.6887 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.1775, allocations: 136.7 kB / 0.6888 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.1777, allocations: 0.6809 MB / 0.6895 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.028e-05/0.1777, allocations: 3.906 kB / 0.6895 GB, free: 9.977 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.1777, allocations: 7.438 kB / 0.6895 GB, free: 9.969 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1777, allocations: 0 / 0.6895 GB, free: 9.969 MB / 494.1 MB Notification: Performance of Templates: time 0.002064/0.1798, allocations: 0.4887 MB / 0.69 GB, free: 9.484 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)