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.004399/0.004399, allocations: 100.9 kB / 15.73 MB, free: 6.031 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.001032/0.001032, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.309 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 0.9806/0.9806, allocations: 143 MB / 433.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 71.88 kB / 0.5955 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4444, allocations: 82.03 MB / 0.6756 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002745/0.4472, allocations: 1.811 MB / 0.6774 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.4482, allocations: 0.5401 MB / 0.6779 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.4483, allocations: 2.5 kB / 0.6779 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.4485, allocations: 29.88 kB / 0.678 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.4486, allocations: 21.84 kB / 0.678 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.4489, allocations: 69.59 kB / 0.6781 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.4491, allocations: 173.6 kB / 0.6782 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.4493, allocations: 51.83 kB / 0.6783 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.094e-05/0.4494, allocations: 53.91 kB / 0.6783 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.4495, allocations: 62.02 kB / 0.6784 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.4495, allocations: 9.688 kB / 0.6784 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.152e-05/0.4496, allocations: 14.81 kB / 0.6784 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.418e-05/0.4496, allocations: 27.5 kB / 0.6784 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.4497, allocations: 71.12 kB / 0.6785 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.4499, allocations: 139.4 kB / 0.6786 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4499, allocations: 0 / 0.6786 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.824e-06/0.45, allocations: 3.938 kB / 0.6786 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.45, allocations: 0 / 0.6786 GB, free: 15.06 MB / 0.5137 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.0007827/0.4508, allocations: 472.5 kB / 0.6791 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4508, allocations: 9.438 kB / 0.6791 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.4509, allocations: 22.78 kB / 0.6791 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.4512, allocations: 238.7 kB / 0.6793 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.4512, allocations: 9.719 kB / 0.6794 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.4513, allocations: 12.31 kB / 0.6794 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.4516, allocations: 156.9 kB / 0.6795 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.4516, allocations: 1.156 kB / 0.6795 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.4516, allocations: 5.188 kB / 0.6795 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.4517, allocations: 3.156 kB / 0.6795 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.4519, allocations: 69.88 kB / 0.6796 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.4529, allocations: 0.7386 MB / 0.6803 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.4531, allocations: 44.97 kB / 0.6804 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.4532, allocations: 40.52 kB / 0.6804 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.4533, allocations: 1.344 kB / 0.6804 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002805/0.4536, allocations: 120.8 kB / 0.6805 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.953e-06/0.4536, allocations: 1.094 kB / 0.6805 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0005877/0.4542, allocations: 171.6 kB / 0.6807 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.474e-05/0.4543, allocations: 130.9 kB / 0.6808 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.4545, allocations: 201.9 kB / 0.681 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.4545, allocations: 30.83 kB / 0.681 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.4546, allocations: 132.4 kB / 0.6812 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.4547, allocations: 36.2 kB / 0.6812 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.19e-05/0.4548, allocations: 44.77 kB / 0.6812 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.455, allocations: 326.5 kB / 0.6815 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.4551, allocations: 41.75 kB / 0.6816 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.4553, allocations: 144.9 kB / 0.6817 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.4557, allocations: 209 kB / 0.6819 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.4557, allocations: 1.188 kB / 0.6819 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004393/0.4561, allocations: 210.9 kB / 0.6821 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.4562, allocations: 6.406 kB / 0.6821 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.4562, allocations: 4.062 kB / 0.6821 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.4562, allocations: 9.344 kB / 0.6821 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.4564, allocations: 35.73 kB / 0.6822 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.4564, allocations: 5.312 kB / 0.6822 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.4565, allocations: 27.77 kB / 0.6822 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.4566, allocations: 8.688 kB / 0.6822 GB, free: 11.77 MB / 0.5137 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.0001426/0.4567, allocations: 143 kB / 0.6823 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.4567, allocations: 17.34 kB / 0.6824 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.359e-05/0.4568, allocations: 25.92 kB / 0.6824 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.4568, allocations: 2.25 kB / 0.6824 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.4569, allocations: 1.125 kB / 0.6824 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4569, allocations: 2.219 kB / 0.6824 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000848/0.4577, allocations: 0.5099 MB / 0.6829 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.4577, allocations: 1.219 kB / 0.6829 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.4579, allocations: 23.11 kB / 0.6829 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4579, allocations: 2.25 kB / 0.6829 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.4579, allocations: 6.031 kB / 0.6829 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4579, allocations: 1.062 kB / 0.6829 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.4579, allocations: 6.031 kB / 0.6829 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/0.4585, allocations: 356.9 kB / 0.6833 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.4585, allocations: 94.52 kB / 0.6834 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.4586, allocations: 10.25 kB / 0.6834 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.4587, allocations: 10.98 kB / 0.6834 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.4588, allocations: 17.77 kB / 0.6834 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.4588, allocations: 7.594 kB / 0.6834 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001399/0.459, allocations: 146.1 kB / 0.6835 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.459, allocations: 0 / 0.6835 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003357/0.4593, allocations: 30.78 kB / 0.6836 GB, free: 10.55 MB / 0.5137 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.0001669/0.4595, allocations: 109.7 kB / 0.6837 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.4599, allocations: 117.5 kB / 0.6838 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4599, allocations: 1.062 kB / 0.6838 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.46, allocations: 48.69 kB / 0.6838 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.4606, allocations: 72.45 kB / 0.6839 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.4613, allocations: 355.3 kB / 0.6842 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.4616, allocations: 0.7251 MB / 0.685 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.435e-05/0.4617, allocations: 27.28 kB / 0.685 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.4617, allocations: 18.44 kB / 0.685 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4617, allocations: 0 / 0.685 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.005626/0.4674, allocations: 2.107 MB / 0.6871 GB, free: 8.262 MB / 0.5137 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)