Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001789/0.001789, allocations: 194.5 kB / 16.25 MB, free: 6.621 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002517/0.002517, allocations: 290.4 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.5069 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 97.88 kB / 0.6059 GB, free: 25.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1672, allocations: 89.15 MB / 0.693 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002839/0.1701, allocations: 1.502 MB / 0.6944 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007939/0.1709, allocations: 389 kB / 0.6948 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.171, allocations: 0 / 0.6948 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.171, allocations: 0 / 0.6948 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.835e-05/0.1711, allocations: 3.938 kB / 0.6948 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.1715, allocations: 97.59 kB / 0.6949 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.721e-05/0.1716, allocations: 27.86 kB / 0.6949 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.104e-05/0.1717, allocations: 11.98 kB / 0.6949 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.1717, allocations: 7.922 kB / 0.695 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.028e-05/0.1718, allocations: 15.92 kB / 0.695 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.1718, allocations: 4 kB / 0.695 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003983/0.1722, allocations: 275.7 kB / 0.6952 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.1722, allocations: 8 kB / 0.6952 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.1723, allocations: 11.92 kB / 0.6953 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.1725, allocations: 108 kB / 0.6954 GB, free: 2.246 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.1725, allocations: 3.984 kB / 0.6954 GB, free: 2.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1725, allocations: 0 / 0.6954 GB, free: 2.242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1725, allocations: 0 / 0.6954 GB, free: 2.242 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.0005241/0.173, allocations: 363.4 kB / 0.6957 GB, free: 1.836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1731, allocations: 8.031 kB / 0.6957 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.1731, allocations: 4.938 kB / 0.6957 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.1733, allocations: 176.3 kB / 0.6959 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1733, allocations: 4.375 kB / 0.6959 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1733, allocations: 384 / 0.6959 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1735, allocations: 50.19 kB / 0.6959 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1735, allocations: 192 / 0.6959 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1735, allocations: 7.922 kB / 0.6959 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1735, allocations: 0 / 0.6959 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.1737, allocations: 35.97 kB / 0.696 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.1741, allocations: 256.9 kB / 0.6962 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1742, allocations: 46.44 kB / 0.6963 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.945e-05/0.1743, allocations: 16.91 kB / 0.6963 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007428/0.175, allocations: 469.4 kB / 0.6967 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.1751, allocations: 30.56 kB / 0.6968 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1751, allocations: 0 / 0.6968 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003749/0.1755, allocations: 85.64 kB / 0.6968 GB, free: 468 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1755, allocations: 51.41 kB / 0.6969 GB, free: 404 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.1756, allocations: 105.8 kB / 0.697 GB, free: 288 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1757, allocations: 29.64 kB / 0.697 GB, free: 252 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.1757, allocations: 88.14 kB / 0.6971 GB, free: 160 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.1757, allocations: 3.906 kB / 0.6971 GB, free: 156 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.1758, allocations: 17.84 kB / 0.6971 GB, free: 132 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1759, allocations: 318.8 kB / 0.6974 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/0.176, allocations: 11.98 kB / 0.6974 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.1761, allocations: 19.98 kB / 0.6975 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.1763, allocations: 40.88 kB / 0.6975 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1763, allocations: 4 kB / 0.6975 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000214/0.1765, allocations: 69.52 kB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1765, allocations: 7.938 kB / 0.6976 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.1765, allocations: 0 / 0.6976 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1766, allocations: 0 / 0.6976 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.1766, allocations: 15.92 kB / 0.6976 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1767, allocations: 0 / 0.6976 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.1767, allocations: 12.02 kB / 0.6976 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.1767, allocations: 0 / 0.6976 GB, free: 15.62 MB / 0.4981 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.575e-05/0.1768, allocations: 113.8 kB / 0.6977 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.1769, allocations: 4 kB / 0.6977 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.1771, allocations: 77.17 kB / 0.6978 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1771, allocations: 0 / 0.6978 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1771, allocations: 3.984 kB / 0.6978 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1771, allocations: 4.031 kB / 0.6978 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.1773, allocations: 157.6 kB / 0.698 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1773, allocations: 0 / 0.698 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.1774, allocations: 11.98 kB / 0.698 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1774, allocations: 256 / 0.698 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.1774, allocations: 3.938 kB / 0.698 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.1774, allocations: 4 kB / 0.698 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1774, allocations: 3.938 kB / 0.698 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.1777, allocations: 175.4 kB / 0.6981 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.1778, allocations: 77.11 kB / 0.6982 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1778, allocations: 0 / 0.6982 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.1779, allocations: 7.984 kB / 0.6982 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.1779, allocations: 0 / 0.6982 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.1779, allocations: 4 kB / 0.6982 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.058e-05/0.178, allocations: 87.27 kB / 0.6983 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.178, allocations: 4.031 kB / 0.6983 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002363/0.1782, allocations: 12 kB / 0.6983 GB, free: 14.79 MB / 0.4981 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.0001778/0.1784, allocations: 107.2 kB / 0.6984 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.1786, allocations: 47.89 kB / 0.6985 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1787, allocations: 0 / 0.6985 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.1787, allocations: 20.05 kB / 0.6985 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.179, allocations: 7.938 kB / 0.6985 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.1793, allocations: 113.6 kB / 0.6986 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1797, allocations: 0.6768 MB / 0.6993 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.1797, allocations: 0 / 0.6993 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.1797, allocations: 11.44 kB / 0.6993 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1797, allocations: 4.062 kB / 0.6993 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.003024/0.1828, allocations: 0.6684 MB / 0.6999 GB, free: 13.08 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)