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.006279/0.006279, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00134/0.00134, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.9901/0.9901, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 0.5955 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4049, allocations: 82.03 MB / 0.6756 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002928/0.4078, allocations: 1.806 MB / 0.6774 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.4089, allocations: 0.5447 MB / 0.6779 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.409, allocations: 2.688 kB / 0.6779 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.4092, allocations: 24.95 kB / 0.678 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8e-05/0.4093, allocations: 26.94 kB / 0.678 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.4095, allocations: 72.72 kB / 0.6781 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.4098, allocations: 171.1 kB / 0.6782 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.4099, allocations: 50.98 kB / 0.6783 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.41, allocations: 54.78 kB / 0.6783 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.987e-05/0.4101, allocations: 61.64 kB / 0.6784 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.4102, allocations: 10.31 kB / 0.6784 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.086e-05/0.4102, allocations: 14.09 kB / 0.6784 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.4103, allocations: 28.62 kB / 0.6784 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.4103, allocations: 62.95 kB / 0.6785 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.4105, allocations: 142.5 kB / 0.6786 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4105, allocations: 0 / 0.6786 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4105, allocations: 1.062 kB / 0.6786 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.4106, allocations: 0 / 0.6786 GB, free: 15.04 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.0006877/0.4113, allocations: 487.1 kB / 0.6791 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.4113, allocations: 9.031 kB / 0.6791 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.4114, allocations: 18 kB / 0.6791 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.4116, allocations: 231.6 kB / 0.6793 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.4117, allocations: 10.03 kB / 0.6794 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.4117, allocations: 12.16 kB / 0.6794 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.412, allocations: 151 kB / 0.6795 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.412, allocations: 1.062 kB / 0.6795 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.412, allocations: 6.094 kB / 0.6795 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.412, allocations: 2.906 kB / 0.6795 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.4123, allocations: 73.72 kB / 0.6796 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008689/0.4131, allocations: 0.7418 MB / 0.6803 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.4133, allocations: 53.23 kB / 0.6804 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.934e-05/0.4134, allocations: 28.38 kB / 0.6804 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.4134, allocations: 1.844 kB / 0.6804 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.4137, allocations: 128.9 kB / 0.6805 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.4137, allocations: 0 / 0.6805 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0004936/0.4142, allocations: 169.2 kB / 0.6807 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.4142, allocations: 134.2 kB / 0.6808 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.4144, allocations: 205.6 kB / 0.681 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.4145, allocations: 31.02 kB / 0.681 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.915e-05/0.4146, allocations: 129.2 kB / 0.6812 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.4146, allocations: 27.7 kB / 0.6812 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.4147, allocations: 48.73 kB / 0.6812 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4148, allocations: 330.2 kB / 0.6815 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.4149, allocations: 38.23 kB / 0.6816 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.4151, allocations: 147.7 kB / 0.6817 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.4154, allocations: 209.9 kB / 0.6819 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4154, allocations: 5 kB / 0.6819 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003853/0.4158, allocations: 206 kB / 0.6821 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4158, allocations: 9.125 kB / 0.6821 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4159, allocations: 4.531 kB / 0.6821 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4159, allocations: 4.75 kB / 0.6821 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.416, allocations: 31.8 kB / 0.6822 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.416, allocations: 13.45 kB / 0.6822 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.4162, allocations: 28.02 kB / 0.6822 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.4162, allocations: 8.781 kB / 0.6822 GB, free: 11.73 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.0001007/0.4163, allocations: 139 kB / 0.6823 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.4163, allocations: 21 kB / 0.6824 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.4164, allocations: 22.3 kB / 0.6824 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4164, allocations: 2.344 kB / 0.6824 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4164, allocations: 1.5 kB / 0.6824 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4164, allocations: 1.156 kB / 0.6824 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007105/0.4171, allocations: 0.5142 MB / 0.6829 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4171, allocations: 1.062 kB / 0.6829 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.4173, allocations: 19.92 kB / 0.6829 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4173, allocations: 0.9375 kB / 0.6829 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.4173, allocations: 2.219 kB / 0.6829 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4173, allocations: 2.312 kB / 0.6829 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4173, allocations: 5.125 kB / 0.6829 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/0.4178, allocations: 361 kB / 0.6833 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.4178, allocations: 102.7 kB / 0.6834 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.4179, allocations: 2.219 kB / 0.6834 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.418, allocations: 22.52 kB / 0.6834 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.4181, allocations: 14.92 kB / 0.6834 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.4181, allocations: 2.531 kB / 0.6834 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001312/0.4182, allocations: 146.9 kB / 0.6835 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4182, allocations: 0 / 0.6835 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003209/0.4186, allocations: 31.41 kB / 0.6836 GB, free: 10.52 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.0001248/0.4187, allocations: 104.7 kB / 0.6837 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.419, allocations: 118.3 kB / 0.6838 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.419, allocations: 0 / 0.6838 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.4192, allocations: 50.5 kB / 0.6838 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.4198, allocations: 79.58 kB / 0.6839 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005616/0.4203, allocations: 353.7 kB / 0.6843 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.4206, allocations: 0.7211 MB / 0.685 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.888e-05/0.4207, allocations: 24.66 kB / 0.685 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.4208, allocations: 21 kB / 0.685 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4208, allocations: 0 / 0.685 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of Templates: time 0.004795/0.4256, allocations: 2.039 MB / 0.687 GB, free: 8.285 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)