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.001122/0.001123, allocations: 111.6 kB / 16.42 MB, free: 6.488 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.00118/0.00118, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.309/1.309, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.8395/0.8395, allocations: 143 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 65.19 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1412, allocations: 82.04 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002868/0.1441, allocations: 1.817 MB / 0.6781 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009801/0.1451, allocations: 0.5299 MB / 0.6786 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1453, allocations: 7.938 kB / 0.6786 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.1454, allocations: 23.73 kB / 0.6786 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.156e-05/0.1455, allocations: 35.72 kB / 0.6787 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.1458, allocations: 71.84 kB / 0.6787 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.146, allocations: 167.5 kB / 0.6789 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1462, allocations: 53.59 kB / 0.679 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.091e-05/0.1463, allocations: 63.7 kB / 0.679 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.852e-05/0.1463, allocations: 55.7 kB / 0.6791 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.1464, allocations: 12 kB / 0.6791 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.927e-05/0.1464, allocations: 8 kB / 0.6791 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.1464, allocations: 27.86 kB / 0.6791 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.1465, allocations: 59.61 kB / 0.6792 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1467, allocations: 143.4 kB / 0.6793 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1467, allocations: 3.984 kB / 0.6793 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1467, allocations: 0 / 0.6793 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1467, allocations: 0 / 0.6793 GB, free: 7.262 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.0006863/0.1474, allocations: 482.5 kB / 0.6798 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1475, allocations: 8.031 kB / 0.6798 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.1475, allocations: 16.75 kB / 0.6798 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.1478, allocations: 227.9 kB / 0.68 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1478, allocations: 20.25 kB / 0.68 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1479, allocations: 16.38 kB / 0.6801 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.1482, allocations: 139.7 kB / 0.6802 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1482, allocations: 4 kB / 0.6802 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1482, allocations: 7.984 kB / 0.6802 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.1482, allocations: 7.938 kB / 0.6802 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.1484, allocations: 67.89 kB / 0.6803 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.1493, allocations: 0.7469 MB / 0.681 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1495, allocations: 50.55 kB / 0.681 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.1496, allocations: 28.84 kB / 0.6811 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1496, allocations: 0 / 0.6811 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.1499, allocations: 134.7 kB / 0.6812 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.1499, allocations: 0 / 0.6812 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0004904/0.1504, allocations: 153.4 kB / 0.6813 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.1505, allocations: 144.7 kB / 0.6815 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1506, allocations: 195 kB / 0.6817 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1507, allocations: 29.7 kB / 0.6817 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.1508, allocations: 139.9 kB / 0.6818 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1508, allocations: 27.61 kB / 0.6819 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.1509, allocations: 41.7 kB / 0.6819 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.151, allocations: 334.8 kB / 0.6822 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1511, allocations: 39.97 kB / 0.6823 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.1513, allocations: 147.6 kB / 0.6824 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.1516, allocations: 202.3 kB / 0.6826 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1516, allocations: 4 kB / 0.6826 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003946/0.152, allocations: 209.3 kB / 0.6828 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.152, allocations: 8 kB / 0.6828 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1521, allocations: 7.938 kB / 0.6828 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1521, allocations: 4.25 kB / 0.6828 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1522, allocations: 31.92 kB / 0.6828 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.1522, allocations: 11.98 kB / 0.6829 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.1524, allocations: 28.11 kB / 0.6829 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1524, allocations: 12 kB / 0.6829 GB, free: 3.203 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.1525, allocations: 139.2 kB / 0.683 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.1525, allocations: 23.8 kB / 0.6831 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.1526, allocations: 21.39 kB / 0.6831 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1526, allocations: 4 kB / 0.6831 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1526, allocations: 0 / 0.6831 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.1527, allocations: 92.91 kB / 0.6832 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.1527, allocations: 4 kB / 0.6832 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1528, allocations: 23.92 kB / 0.6832 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.1529, allocations: 11.92 kB / 0.6832 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005765/0.1534, allocations: 470.5 kB / 0.6837 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005622/0.154, allocations: 0.5784 MB / 0.6842 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001383/0.1542, allocations: 52 kB / 0.6843 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001067/0.1543, allocations: 140.6 kB / 0.6844 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of Backend: time 3.01e-07/0.1543, allocations: 0 / 0.6844 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007202/0.155, allocations: 169.5 kB / 0.6846 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0009103/0.1559, allocations: 0.8256 MB / 0.6854 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of Templates: time 0.005277/0.1612, allocations: 2.31 MB / 0.6876 GB, free: 14.29 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)