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.001435/0.001435, allocations: 107.5 kB / 15.99 MB, free: 5.91 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.001481/0.001481, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.307/1.307, allocations: 222.9 MB / 240.6 MB, free: 13.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002444/0.002444, allocations: 284 kB / 291 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.12/1.12, allocations: 178.6 MB / 0.5076 GB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002676/0.002676, allocations: 107.8 kB / 0.6066 GB, free: 9.602 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1669, allocations: 89.14 MB / 0.6936 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001786/0.1687, allocations: 0.6533 MB / 0.6943 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002734/0.169, allocations: 101.7 kB / 0.6944 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.324e-05/0.169, allocations: 0 / 0.6944 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.169, allocations: 0 / 0.6944 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.104e-05/0.1691, allocations: 4 kB / 0.6944 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.1693, allocations: 12 kB / 0.6944 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.58e-05/0.1693, allocations: 11.98 kB / 0.6944 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.1694, allocations: 0 / 0.6944 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.618e-05/0.1694, allocations: 0 / 0.6944 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.1695, allocations: 4 kB / 0.6944 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1695, allocations: 0 / 0.6944 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.892e-05/0.1696, allocations: 19.98 kB / 0.6944 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.1696, allocations: 7.922 kB / 0.6944 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.1696, allocations: 0 / 0.6944 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.925e-05/0.1697, allocations: 11.98 kB / 0.6944 GB, free: 15.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1697, allocations: 0 / 0.6944 GB, free: 15.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.616e-06/0.1697, allocations: 7.938 kB / 0.6944 GB, free: 15.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.1697, allocations: 0 / 0.6944 GB, free: 15.54 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.0003651/0.1701, allocations: 315.6 kB / 0.6947 GB, free: 15.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1701, allocations: 8.031 kB / 0.6948 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.1703, allocations: 12.92 kB / 0.6948 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1704, allocations: 160.4 kB / 0.6949 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1704, allocations: 4.375 kB / 0.6949 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.1704, allocations: 384 / 0.6949 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1705, allocations: 46.23 kB / 0.695 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1706, allocations: 192 / 0.695 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1706, allocations: 3.938 kB / 0.695 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1706, allocations: 0 / 0.695 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.471e-05/0.1707, allocations: 15.98 kB / 0.695 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.1708, allocations: 145.9 kB / 0.6951 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.171, allocations: 50.59 kB / 0.6952 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.171, allocations: 16.8 kB / 0.6952 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.1711, allocations: 0 / 0.6952 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1711, allocations: 38.55 kB / 0.6952 GB, free: 14.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.1711, allocations: 0 / 0.6952 GB, free: 14.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002047/0.1713, allocations: 69.55 kB / 0.6953 GB, free: 14.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1714, allocations: 55.39 kB / 0.6953 GB, free: 14.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.067e-05/0.1714, allocations: 89.86 kB / 0.6954 GB, free: 14.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1714, allocations: 25.7 kB / 0.6955 GB, free: 14.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.1715, allocations: 80.14 kB / 0.6955 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.1715, allocations: 11.75 kB / 0.6955 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.1715, allocations: 17.72 kB / 0.6956 GB, free: 14.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1717, allocations: 310.8 kB / 0.6959 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.804e-05/0.1717, allocations: 11.98 kB / 0.6959 GB, free: 13.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.1717, allocations: 8 kB / 0.6959 GB, free: 13.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.886e-05/0.1718, allocations: 20.84 kB / 0.6959 GB, free: 13.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1718, allocations: 8 kB / 0.6959 GB, free: 13.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001059/0.1719, allocations: 49.62 kB / 0.696 GB, free: 13.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.172, allocations: 7.984 kB / 0.696 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.172, allocations: 0 / 0.696 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.172, allocations: 3.938 kB / 0.696 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.1724, allocations: 43.94 kB / 0.696 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.1737, allocations: 1.404 MB / 0.6974 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.1737, allocations: 0 / 0.6974 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1738, allocations: 0 / 0.6974 GB, free: 12.17 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 (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 8.077e-05/0.1738, allocations: 116.9 kB / 0.6975 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.1739, allocations: 0 / 0.6975 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.639e-05/0.1739, allocations: 7.5 kB / 0.6975 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1739, allocations: 0 / 0.6975 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1739, allocations: 12.05 kB / 0.6975 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1739, allocations: 0 / 0.6975 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.174, allocations: 149.6 kB / 0.6976 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.174, allocations: 0 / 0.6976 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.1744, allocations: 47.92 kB / 0.6977 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1744, allocations: 4 kB / 0.6977 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1744, allocations: 8 kB / 0.6977 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.1756, allocations: 1.412 MB / 0.6991 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1756, allocations: 7.969 kB / 0.6991 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.1758, allocations: 73.2 kB / 0.6992 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.1758, allocations: 77.11 kB / 0.6992 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-06/0.1758, allocations: 3.938 kB / 0.6992 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.747e-05/0.1759, allocations: 7.938 kB / 0.6992 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.1759, allocations: 4 kB / 0.6993 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1759, allocations: 3.938 kB / 0.6993 GB, free: 10.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.132e-05/0.1759, allocations: 79.28 kB / 0.6993 GB, free: 9.938 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1759, allocations: 0 / 0.6993 GB, free: 9.938 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001819/0.1761, allocations: 4 kB / 0.6993 GB, free: 9.934 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 (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.0001344/0.1762, allocations: 103.2 kB / 0.6994 GB, free: 9.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004339/0.1767, allocations: 63.92 kB / 0.6995 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1767, allocations: 0 / 0.6995 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.1771, allocations: 59.84 kB / 0.6996 GB, free: 9.699 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.1772, allocations: 14.53 kB / 0.6996 GB, free: 9.688 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.1775, allocations: 114.5 kB / 0.6997 GB, free: 9.543 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1779, allocations: 0.6729 MB / 0.7003 GB, free: 8.844 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.1779, allocations: 11.44 kB / 0.7003 GB, free: 8.832 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.1779, allocations: 0 / 0.7003 GB, free: 8.832 MB / 0.545 GB Notification: Performance of Templates: time 0.002175/0.1801, allocations: 0.5973 MB / 0.7009 GB, free: 8.23 MB / 0.545 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)