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.001022/0.001022, allocations: 91.84 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.254 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.017/1.017, allocations: 143.2 MB / 435.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.000351, allocations: 12 kB / 0.517 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1519, allocations: 83.41 MB / 0.5985 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002062/0.154, allocations: 1.525 MB / 0.6 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008936/0.1549, allocations: 0.5144 MB / 0.6005 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.884e-05/0.155, allocations: 7.938 kB / 0.6005 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.1551, allocations: 19.86 kB / 0.6005 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.133e-05/0.1552, allocations: 15.8 kB / 0.6005 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.1554, allocations: 59.94 kB / 0.6006 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.1557, allocations: 163.4 kB / 0.6007 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.1558, allocations: 49.66 kB / 0.6008 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.503e-05/0.1559, allocations: 47.72 kB / 0.6008 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.457e-05/0.156, allocations: 51.64 kB / 0.6009 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.156, allocations: 4 kB / 0.6009 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.156, allocations: 4 kB / 0.6009 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.972e-05/0.1561, allocations: 19.92 kB / 0.6009 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.8e-05/0.1561, allocations: 81.31 kB / 0.601 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.1563, allocations: 88.02 kB / 0.6011 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1563, allocations: 0 / 0.6011 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1563, allocations: 4 kB / 0.6011 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1563, allocations: 0 / 0.6011 GB, free: 4.969 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.0006475/0.1569, allocations: 458.8 kB / 0.6015 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.157, allocations: 12.03 kB / 0.6015 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.157, allocations: 20.75 kB / 0.6015 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1573, allocations: 227.9 kB / 0.6018 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1573, allocations: 12.31 kB / 0.6018 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.1574, allocations: 12.38 kB / 0.6018 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.1577, allocations: 163.6 kB / 0.6019 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1577, allocations: 0 / 0.6019 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1577, allocations: 0 / 0.6019 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1577, allocations: 4 kB / 0.6019 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.158, allocations: 87.88 kB / 0.602 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009255/0.1589, allocations: 0.7392 MB / 0.6028 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.1591, allocations: 58.48 kB / 0.6028 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.1592, allocations: 40.83 kB / 0.6028 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1593, allocations: 8 kB / 0.6029 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.1595, allocations: 126.7 kB / 0.603 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.1595, allocations: 0 / 0.603 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005294/0.1601, allocations: 185.4 kB / 0.6032 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.1602, allocations: 136.5 kB / 0.6033 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1604, allocations: 199.8 kB / 0.6035 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1604, allocations: 29.7 kB / 0.6035 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.1605, allocations: 135.9 kB / 0.6036 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.1605, allocations: 39.55 kB / 0.6037 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.1606, allocations: 25.7 kB / 0.6037 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1607, allocations: 326.8 kB / 0.604 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1608, allocations: 43.97 kB / 0.604 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.161, allocations: 161.4 kB / 0.6042 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.1614, allocations: 210.3 kB / 0.6044 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1614, allocations: 0 / 0.6044 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000415/0.1618, allocations: 217.5 kB / 0.6046 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1618, allocations: 8 kB / 0.6046 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1618, allocations: 7.938 kB / 0.6046 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1619, allocations: 4 kB / 0.6046 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.162, allocations: 43.91 kB / 0.6047 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.162, allocations: 7.938 kB / 0.6047 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.1622, allocations: 27.83 kB / 0.6047 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.1622, allocations: 16.06 kB / 0.6047 GB, free: 0.8516 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.0001125/0.1623, allocations: 136.2 kB / 0.6049 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.1624, allocations: 19.8 kB / 0.6049 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.1624, allocations: 17.41 kB / 0.6049 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1624, allocations: 4 kB / 0.6049 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1624, allocations: 0 / 0.6049 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1624, allocations: 3.984 kB / 0.6049 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007921/0.1632, allocations: 0.5288 MB / 0.6054 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1633, allocations: 0 / 0.6054 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.1634, allocations: 31.92 kB / 0.6054 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1634, allocations: 3.984 kB / 0.6054 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1634, allocations: 4 kB / 0.6054 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1634, allocations: 0 / 0.6054 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1634, allocations: 7.938 kB / 0.6055 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.286/0.4494, allocations: 368.1 kB / 0.6058 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.4495, allocations: 91.55 kB / 0.6059 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.4495, allocations: 4.609 kB / 0.6059 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.4498, allocations: 20.62 kB / 0.6059 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.4498, allocations: 15.59 kB / 0.6059 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.4498, allocations: 4.281 kB / 0.6059 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001046/0.45, allocations: 141.5 kB / 0.6061 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.45, allocations: 0.75 kB / 0.6061 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003655/0.4503, allocations: 25.75 kB / 0.6061 GB, free: 40.42 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.0001171/0.4505, allocations: 111.2 kB / 0.6062 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.4508, allocations: 128.9 kB / 0.6063 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4508, allocations: 2.859 kB / 0.6063 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.451, allocations: 56.58 kB / 0.6064 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.4516, allocations: 63.31 kB / 0.6064 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.4522, allocations: 434.3 kB / 0.6069 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.4523, allocations: 0.7289 MB / 0.6076 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.4524, allocations: 18.09 kB / 0.6076 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.4524, allocations: 0 / 0.6076 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.003304/0.4557, allocations: 2.116 MB / 0.6097 GB, free: 39.28 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)