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.001614/0.001614, allocations: 111.3 kB / 15.99 MB, free: 6.344 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.00153/0.00153, allocations: 194.6 kB / 16.91 MB, free: 6.184 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002401/0.002401, allocations: 295.7 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.135/1.135, allocations: 178.5 MB / 0.5076 GB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002605, allocations: 99.84 kB / 0.6066 GB, free: 9.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1591, allocations: 89.13 MB / 0.6936 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002705/0.1618, allocations: 1.506 MB / 0.6951 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002507/0.1621, allocations: 92.58 kB / 0.6952 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.1621, allocations: 0 / 0.6952 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.1622, allocations: 4 kB / 0.6952 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.148e-05/0.1622, allocations: 7.938 kB / 0.6952 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.1624, allocations: 11.98 kB / 0.6952 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.1625, allocations: 19.94 kB / 0.6952 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.1626, allocations: 7.984 kB / 0.6952 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.1626, allocations: 15.92 kB / 0.6952 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.1627, allocations: 15.92 kB / 0.6953 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1627, allocations: 4 kB / 0.6953 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.149e-05/0.1627, allocations: 15.98 kB / 0.6953 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.1628, allocations: 3.938 kB / 0.6953 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.1628, allocations: 11.94 kB / 0.6953 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.629e-05/0.1629, allocations: 23.97 kB / 0.6953 GB, free: 14.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1629, allocations: 0 / 0.6953 GB, free: 14.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1629, allocations: 0 / 0.6953 GB, free: 14.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.1629, allocations: 0 / 0.6953 GB, free: 14.72 MB / 0.545 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.0004516/0.1633, allocations: 347.7 kB / 0.6956 GB, free: 14.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1634, allocations: 12.03 kB / 0.6957 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.1636, allocations: 12.92 kB / 0.6957 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.1637, allocations: 172.3 kB / 0.6958 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.1637, allocations: 4.375 kB / 0.6958 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1638, allocations: 384 / 0.6958 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.164, allocations: 62.16 kB / 0.6959 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.164, allocations: 192 / 0.6959 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.164, allocations: 3.938 kB / 0.6959 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.164, allocations: 4 kB / 0.6959 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.1642, allocations: 43.95 kB / 0.6959 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.1646, allocations: 272.9 kB / 0.6962 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1648, allocations: 58.42 kB / 0.6963 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1649, allocations: 28.89 kB / 0.6963 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.165, allocations: 4 kB / 0.6963 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.165, allocations: 34.56 kB / 0.6963 GB, free: 13.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.165, allocations: 0 / 0.6963 GB, free: 13.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003874/0.1654, allocations: 97.62 kB / 0.6964 GB, free: 13.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.1654, allocations: 55.53 kB / 0.6965 GB, free: 13.35 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.1655, allocations: 105.8 kB / 0.6966 GB, free: 13.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1656, allocations: 29.7 kB / 0.6966 GB, free: 13.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.1656, allocations: 80.14 kB / 0.6967 GB, free: 13.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.1657, allocations: 15.78 kB / 0.6967 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1657, allocations: 13.72 kB / 0.6967 GB, free: 13.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1658, allocations: 314.8 kB / 0.697 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.922e-05/0.1659, allocations: 19.98 kB / 0.697 GB, free: 12.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.172e-05/0.166, allocations: 31.97 kB / 0.6971 GB, free: 12.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.1662, allocations: 48.81 kB / 0.6971 GB, free: 12.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1662, allocations: 0 / 0.6971 GB, free: 12.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002342/0.1665, allocations: 85.66 kB / 0.6972 GB, free: 12.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1665, allocations: 7.984 kB / 0.6972 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1665, allocations: 0 / 0.6972 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1665, allocations: 0 / 0.6972 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1666, allocations: 15.92 kB / 0.6972 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.1666, allocations: 0 / 0.6972 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.1667, allocations: 11.91 kB / 0.6972 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.1667, allocations: 3.938 kB / 0.6972 GB, free: 12.54 MB / 0.545 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 (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 8.201e-05/0.1668, allocations: 121.1 kB / 0.6973 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.1668, allocations: 4 kB / 0.6973 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.1669, allocations: 7.531 kB / 0.6974 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1669, allocations: 3.984 kB / 0.6974 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1669, allocations: 0 / 0.6974 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.1669, allocations: 0 / 0.6974 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.1671, allocations: 165.8 kB / 0.6975 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1671, allocations: 0 / 0.6975 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.1672, allocations: 15.98 kB / 0.6975 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1672, allocations: 4 kB / 0.6975 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1672, allocations: 3.938 kB / 0.6975 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.1672, allocations: 0 / 0.6975 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1672, allocations: 0 / 0.6975 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.1675, allocations: 183.4 kB / 0.6977 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.1675, allocations: 81.02 kB / 0.6978 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1675, allocations: 8.031 kB / 0.6978 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/0.1676, allocations: 7.984 kB / 0.6978 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.1677, allocations: 0 / 0.6978 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1677, allocations: 3.984 kB / 0.6978 GB, free: 11.85 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.591e-05/0.1677, allocations: 87.28 kB / 0.6979 GB, free: 11.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1677, allocations: 0 / 0.6979 GB, free: 11.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002065/0.168, allocations: 4 kB / 0.6979 GB, free: 11.76 MB / 0.545 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 (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.0001173/0.1681, allocations: 101.8 kB / 0.698 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.1683, allocations: 51.94 kB / 0.698 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1683, allocations: 0 / 0.698 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1684, allocations: 27.92 kB / 0.6981 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.1687, allocations: 7.938 kB / 0.6981 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.169, allocations: 159.3 kB / 0.6982 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1693, allocations: 0.6729 MB / 0.6989 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.1694, allocations: 15.42 kB / 0.6989 GB, free: 10.66 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.1694, allocations: 0 / 0.6989 GB, free: 10.66 MB / 0.545 GB Notification: Performance of Templates: time 0.002034/0.1714, allocations: 0.6359 MB / 0.6995 GB, free: 10.04 MB / 0.545 GB 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)