Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, 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.001277/0.001277, allocations: 191.8 kB / 16.14 MB, free: 6.695 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.06/1.06, allocations: 143 MB / 433 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001143, allocations: 55.91 kB / 0.5135 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1696, allocations: 82.04 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003206/0.1729, allocations: 1.875 MB / 0.5954 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000876/0.1738, allocations: 0.5182 MB / 0.5959 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1739, allocations: 7.938 kB / 0.5959 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.174, allocations: 15.86 kB / 0.596 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.553e-05/0.1742, allocations: 23.78 kB / 0.596 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.1744, allocations: 63.94 kB / 0.596 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.1746, allocations: 167.4 kB / 0.5962 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1748, allocations: 45.66 kB / 0.5962 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.1748, allocations: 43.73 kB / 0.5963 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.1749, allocations: 63.62 kB / 0.5964 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.175, allocations: 8 kB / 0.5964 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.597e-05/0.175, allocations: 8 kB / 0.5964 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.522e-05/0.175, allocations: 23.91 kB / 0.5964 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.1751, allocations: 63.55 kB / 0.5965 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1753, allocations: 119.8 kB / 0.5966 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1753, allocations: 0 / 0.5966 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.61e-07/0.1753, allocations: 0 / 0.5966 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1753, allocations: 0 / 0.5966 GB, free: 7.02 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007945/0.1761, allocations: 482.7 kB / 0.597 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1761, allocations: 8.031 kB / 0.597 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.1762, allocations: 20.73 kB / 0.5971 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.1765, allocations: 231.9 kB / 0.5973 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1766, allocations: 8.375 kB / 0.5973 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.1766, allocations: 12.38 kB / 0.5973 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.1769, allocations: 158.8 kB / 0.5974 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1769, allocations: 0 / 0.5974 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.177, allocations: 4 kB / 0.5974 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.177, allocations: 7.938 kB / 0.5975 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.1772, allocations: 63.89 kB / 0.5975 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009636/0.1782, allocations: 0.7469 MB / 0.5982 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1784, allocations: 54.55 kB / 0.5983 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1785, allocations: 36.78 kB / 0.5983 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1785, allocations: 3.984 kB / 0.5983 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.1789, allocations: 122.7 kB / 0.5985 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/0.1789, allocations: 3.938 kB / 0.5985 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005163/0.1794, allocations: 165.3 kB / 0.5986 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.1795, allocations: 128.5 kB / 0.5987 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.1797, allocations: 203.6 kB / 0.5989 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.1797, allocations: 29.95 kB / 0.599 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.1798, allocations: 131.9 kB / 0.5991 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.1799, allocations: 39.61 kB / 0.5991 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.18, allocations: 41.7 kB / 0.5992 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1801, allocations: 330.8 kB / 0.5995 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1803, allocations: 39.97 kB / 0.5995 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.1806, allocations: 149.3 kB / 0.5997 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.181, allocations: 202.3 kB / 0.5999 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.181, allocations: 4 kB / 0.5999 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005034/0.1815, allocations: 197.5 kB / 0.6 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1816, allocations: 12.09 kB / 0.6001 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1816, allocations: 4 kB / 0.6001 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1816, allocations: 4 kB / 0.6001 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.1817, allocations: 35.91 kB / 0.6001 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.1818, allocations: 11.94 kB / 0.6001 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.1819, allocations: 27.83 kB / 0.6001 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1819, allocations: 11.94 kB / 0.6001 GB, free: 2.961 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001117/0.182, allocations: 140.2 kB / 0.6003 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.1821, allocations: 15.81 kB / 0.6003 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.1821, allocations: 25.39 kB / 0.6003 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1821, allocations: 0 / 0.6003 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1822, allocations: 4.25 kB / 0.6003 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1822, allocations: 0 / 0.6003 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007775/0.1829, allocations: 0.5209 MB / 0.6008 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.183, allocations: 0 / 0.6008 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.1831, allocations: 15.98 kB / 0.6008 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.1831, allocations: 7.938 kB / 0.6009 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.1831, allocations: 7.984 kB / 0.6009 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1831, allocations: 4 kB / 0.6009 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1831, allocations: 3.938 kB / 0.6009 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.1837, allocations: 352.5 kB / 0.6012 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.1838, allocations: 96.86 kB / 0.6013 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.1838, allocations: 7.938 kB / 0.6013 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.184, allocations: 12.03 kB / 0.6013 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.184, allocations: 27.98 kB / 0.6013 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.184, allocations: 4 kB / 0.6014 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001802/0.1842, allocations: 140.6 kB / 0.6015 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1842, allocations: 0 / 0.6015 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003409/0.1846, allocations: 31.94 kB / 0.6015 GB, free: 1.449 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001381/0.1847, allocations: 103.2 kB / 0.6016 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.1851, allocations: 111.8 kB / 0.6017 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1851, allocations: 4 kB / 0.6017 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.1852, allocations: 49.03 kB / 0.6018 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.1858, allocations: 74.72 kB / 0.6018 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.1865, allocations: 386.5 kB / 0.6022 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.293/0.4795, allocations: 0.7274 MB / 0.6029 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.4796, allocations: 14.56 kB / 0.6029 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.4797, allocations: 17.52 kB / 0.603 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of SimCode: time 7.72e-07/0.4797, allocations: 1 kB / 0.603 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.004503/0.4842, allocations: 1.821 MB / 0.6047 GB, free: 43.52 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)