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.001628/0.001628, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001936/0.001936, allocations: 198.1 kB / 16.14 MB, free: 6.715 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002553/0.002553, allocations: 276.2 kB / 290.2 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.125/1.125, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002872/0.002872, allocations: 107.7 kB / 0.6057 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1748, allocations: 89.14 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002853/0.1777, allocations: 1.509 MB / 0.6943 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008832/0.1786, allocations: 415.5 kB / 0.6947 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.1786, allocations: 4 kB / 0.6947 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.113e-05/0.1787, allocations: 0 / 0.6947 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.446e-05/0.1788, allocations: 7.938 kB / 0.6947 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1791, allocations: 75.84 kB / 0.6947 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.365e-05/0.1792, allocations: 27.86 kB / 0.6948 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.057e-05/0.1793, allocations: 4 kB / 0.6948 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.1793, allocations: 11.98 kB / 0.6948 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.299e-05/0.1794, allocations: 7.938 kB / 0.6948 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1794, allocations: 4 kB / 0.6948 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.1798, allocations: 275.6 kB / 0.6951 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.1798, allocations: 0 / 0.6951 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.1799, allocations: 11.94 kB / 0.6951 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.1801, allocations: 111.8 kB / 0.6952 GB, free: 2.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1801, allocations: 0 / 0.6952 GB, free: 2.383 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1801, allocations: 0 / 0.6952 GB, free: 2.383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1801, allocations: 0 / 0.6952 GB, free: 2.383 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.000512/0.1806, allocations: 365.4 kB / 0.6955 GB, free: 1.977 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1807, allocations: 12.03 kB / 0.6955 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.1807, allocations: 4.938 kB / 0.6955 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.1809, allocations: 164.3 kB / 0.6957 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1809, allocations: 8.312 kB / 0.6957 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.1809, allocations: 4.375 kB / 0.6957 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1811, allocations: 50.17 kB / 0.6958 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1811, allocations: 192 / 0.6958 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1811, allocations: 15.86 kB / 0.6958 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1811, allocations: 0 / 0.6958 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.1813, allocations: 39.95 kB / 0.6958 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.1817, allocations: 241 kB / 0.696 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.1818, allocations: 50.42 kB / 0.6961 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/0.1819, allocations: 20.91 kB / 0.6961 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007522/0.1827, allocations: 461.5 kB / 0.6965 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1827, allocations: 30.56 kB / 0.6966 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1827, allocations: 4 kB / 0.6966 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003758/0.1831, allocations: 81.64 kB / 0.6967 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.1831, allocations: 51.41 kB / 0.6967 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/0.1832, allocations: 101.9 kB / 0.6968 GB, free: 440 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.1833, allocations: 29.69 kB / 0.6968 GB, free: 404 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.1833, allocations: 92.08 kB / 0.6969 GB, free: 308 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.1833, allocations: 8.031 kB / 0.6969 GB, free: 300 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.1834, allocations: 21.66 kB / 0.6969 GB, free: 272 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1835, allocations: 310.8 kB / 0.6972 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.903e-05/0.1836, allocations: 19.97 kB / 0.6973 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.1837, allocations: 15.98 kB / 0.6973 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.1839, allocations: 40.89 kB / 0.6973 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1839, allocations: 0 / 0.6973 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002154/0.1841, allocations: 77.5 kB / 0.6974 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1841, allocations: 4 kB / 0.6974 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1841, allocations: 0 / 0.6974 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1842, allocations: 0 / 0.6974 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.1842, allocations: 11.98 kB / 0.6974 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1843, allocations: 7.969 kB / 0.6974 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.1843, allocations: 4.25 kB / 0.6974 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1843, allocations: 3.984 kB / 0.6974 GB, free: 15.76 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 9.793e-05/0.1844, allocations: 109.8 kB / 0.6975 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.1845, allocations: 8 kB / 0.6975 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.1847, allocations: 73.19 kB / 0.6976 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1847, allocations: 4.031 kB / 0.6976 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1847, allocations: 0 / 0.6976 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1848, allocations: 3.938 kB / 0.6976 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1849, allocations: 161.6 kB / 0.6978 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1849, allocations: 0 / 0.6978 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.185, allocations: 15.98 kB / 0.6978 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.185, allocations: 3.938 kB / 0.6978 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.185, allocations: 0 / 0.6978 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.185, allocations: 0 / 0.6978 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.185, allocations: 3.938 kB / 0.6978 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.1853, allocations: 171.4 kB / 0.698 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.1854, allocations: 77.11 kB / 0.698 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1854, allocations: 4 kB / 0.698 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.1855, allocations: 7.984 kB / 0.698 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.1855, allocations: 0 / 0.698 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.1856, allocations: 4 kB / 0.698 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.687e-05/0.1856, allocations: 83.31 kB / 0.6981 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1856, allocations: 0 / 0.6981 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002422/0.1859, allocations: 19.98 kB / 0.6981 GB, free: 14.93 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.0001988/0.1861, allocations: 111.2 kB / 0.6982 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.1864, allocations: 43.89 kB / 0.6983 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1864, allocations: 0 / 0.6983 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.776e-05/0.1865, allocations: 24.05 kB / 0.6983 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.1868, allocations: 5.188 kB / 0.6983 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.1871, allocations: 117.8 kB / 0.6984 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.1875, allocations: 0.677 MB / 0.6991 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.1875, allocations: 64 / 0.6991 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.1876, allocations: 15.44 kB / 0.6991 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1876, allocations: 0 / 0.6991 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.003421/0.191, allocations: 0.6446 MB / 0.6997 GB, free: 13.24 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)