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.001324/0.001324, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001041/0.001041, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.8344/0.8344, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 65.09 kB / 0.5962 GB, free: 12.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.135, allocations: 82.02 MB / 0.6763 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002931/0.138, allocations: 1.827 MB / 0.6781 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009765/0.139, allocations: 0.5377 MB / 0.6786 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1391, allocations: 0 / 0.6786 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.1393, allocations: 27.72 kB / 0.6787 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.637e-05/0.1394, allocations: 27.73 kB / 0.6787 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.1396, allocations: 67.86 kB / 0.6787 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.1398, allocations: 171.5 kB / 0.6789 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.14, allocations: 49.64 kB / 0.679 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.982e-05/0.1401, allocations: 55.72 kB / 0.679 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.878e-05/0.1402, allocations: 55.7 kB / 0.6791 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.1402, allocations: 12 kB / 0.6791 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.015e-05/0.1402, allocations: 8 kB / 0.6791 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.783e-05/0.1403, allocations: 43.83 kB / 0.6791 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.1404, allocations: 67.55 kB / 0.6792 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.1405, allocations: 123.5 kB / 0.6793 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1405, allocations: 0 / 0.6793 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1406, allocations: 4 kB / 0.6793 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.1406, allocations: 0 / 0.6793 GB, free: 7.367 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.0006901/0.1413, allocations: 478.5 kB / 0.6798 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1413, allocations: 8.031 kB / 0.6798 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.1414, allocations: 24.75 kB / 0.6798 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.1417, allocations: 239.8 kB / 0.68 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1417, allocations: 8.375 kB / 0.68 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.1417, allocations: 16.31 kB / 0.68 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.142, allocations: 155.4 kB / 0.6802 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.142, allocations: 0 / 0.6802 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1421, allocations: 0 / 0.6802 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1421, allocations: 7.984 kB / 0.6802 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.1423, allocations: 75.88 kB / 0.6803 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008424/0.1432, allocations: 0.7353 MB / 0.681 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1433, allocations: 50.48 kB / 0.681 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1434, allocations: 36.83 kB / 0.6811 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.1434, allocations: 7.938 kB / 0.6811 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.1437, allocations: 122.7 kB / 0.6812 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/0.1437, allocations: 0 / 0.6812 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0004595/0.1441, allocations: 173.3 kB / 0.6814 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.1442, allocations: 128.5 kB / 0.6815 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1444, allocations: 199 kB / 0.6817 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1444, allocations: 29.7 kB / 0.6817 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.1445, allocations: 128 kB / 0.6818 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1445, allocations: 39.75 kB / 0.6819 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/0.1446, allocations: 41.7 kB / 0.6819 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1447, allocations: 330.8 kB / 0.6822 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1448, allocations: 35.97 kB / 0.6823 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.145, allocations: 154.4 kB / 0.6824 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.1453, allocations: 202.3 kB / 0.6826 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1453, allocations: 0 / 0.6826 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003792/0.1457, allocations: 205.1 kB / 0.6828 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1457, allocations: 8.5 kB / 0.6828 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1458, allocations: 4 kB / 0.6828 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1458, allocations: 11.94 kB / 0.6828 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1459, allocations: 31.92 kB / 0.6828 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1459, allocations: 7.938 kB / 0.6829 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.1461, allocations: 27.83 kB / 0.6829 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1461, allocations: 12 kB / 0.6829 GB, free: 3.301 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.0001069/0.1462, allocations: 143.9 kB / 0.683 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.1462, allocations: 15.81 kB / 0.683 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.1463, allocations: 29.39 kB / 0.6831 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1463, allocations: 256 / 0.6831 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1463, allocations: 0 / 0.6831 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.1464, allocations: 96.92 kB / 0.6832 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1464, allocations: 4 kB / 0.6832 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.1465, allocations: 15.92 kB / 0.6832 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.1466, allocations: 15.97 kB / 0.6832 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006212/0.1472, allocations: 470.7 kB / 0.6836 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005992/0.1478, allocations: 0.5824 MB / 0.6842 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001342/0.148, allocations: 51.95 kB / 0.6843 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001066/0.1481, allocations: 136.6 kB / 0.6844 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of Backend: time 5.21e-07/0.1481, allocations: 4 kB / 0.6844 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007285/0.1488, allocations: 160.3 kB / 0.6846 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of SimCode: time 0.000869/0.1497, allocations: 0.8387 MB / 0.6854 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of Templates: time 0.005087/0.1548, allocations: 2.297 MB / 0.6876 GB, free: 14.39 MB / 0.5294 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)