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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007369/0.007369, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001767/0.001767, allocations: 203.9 kB / 16.68 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.503/1.503, 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-master/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-master/package.mo): time 1.03/1.03, allocations: 143.3 MB / 433.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 63.91 kB / 0.5953 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.446, allocations: 82.03 MB / 0.6754 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002793/0.4488, allocations: 1.808 MB / 0.6772 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009969/0.4499, allocations: 0.5443 MB / 0.6777 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.45, allocations: 2.938 kB / 0.6777 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.4501, allocations: 24.91 kB / 0.6777 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.4502, allocations: 22.89 kB / 0.6778 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.4504, allocations: 69.3 kB / 0.6778 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.4506, allocations: 177.5 kB / 0.678 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.4508, allocations: 47.03 kB / 0.678 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.473e-05/0.4509, allocations: 58.47 kB / 0.6781 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.565e-05/0.451, allocations: 53.2 kB / 0.6782 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.451, allocations: 18.3 kB / 0.6782 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.451, allocations: 13.41 kB / 0.6782 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.4511, allocations: 24.58 kB / 0.6782 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.4511, allocations: 67.78 kB / 0.6783 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.4513, allocations: 147.7 kB / 0.6784 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4513, allocations: 0 / 0.6784 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4514, allocations: 0 / 0.6784 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4514, allocations: 0 / 0.6784 GB, free: 14.55 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.0006909/0.4521, allocations: 481.7 kB / 0.6789 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.4521, allocations: 9.344 kB / 0.6789 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.4522, allocations: 46.17 kB / 0.6789 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.4522, allocations: 22.69 kB / 0.6789 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.4525, allocations: 235.2 kB / 0.6792 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.4525, allocations: 8.969 kB / 0.6792 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.4526, allocations: 12.5 kB / 0.6792 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.4529, allocations: 160.3 kB / 0.6793 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.4529, allocations: 1.312 kB / 0.6793 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4529, allocations: 1.312 kB / 0.6793 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.4529, allocations: 2.781 kB / 0.6793 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.4531, allocations: 70.08 kB / 0.6794 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.4542, allocations: 0.7423 MB / 0.6801 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.4543, allocations: 57.97 kB / 0.6802 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.4545, allocations: 32.34 kB / 0.6802 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.4545, allocations: 5.078 kB / 0.6802 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.4548, allocations: 120.7 kB / 0.6803 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.4548, allocations: 0 / 0.6803 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0004922/0.4553, allocations: 168.7 kB / 0.6805 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.4554, allocations: 130.7 kB / 0.6806 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.4556, allocations: 202 kB / 0.6808 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.4557, allocations: 30.8 kB / 0.6809 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.4558, allocations: 131.8 kB / 0.681 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.4558, allocations: 41.66 kB / 0.681 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.4559, allocations: 43.98 kB / 0.6811 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.4561, allocations: 331.2 kB / 0.6814 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.4562, allocations: 36.75 kB / 0.6814 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.4564, allocations: 147.8 kB / 0.6816 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.4568, allocations: 209 kB / 0.6818 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4568, allocations: 1.125 kB / 0.6818 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000495/0.4573, allocations: 207.7 kB / 0.682 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4573, allocations: 7.906 kB / 0.682 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4573, allocations: 4.969 kB / 0.682 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4573, allocations: 8.281 kB / 0.682 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.4575, allocations: 36.56 kB / 0.682 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.4575, allocations: 13.28 kB / 0.682 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.4576, allocations: 27.19 kB / 0.682 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.4577, allocations: 8.891 kB / 0.6821 GB, free: 11.19 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.0001334/0.4578, allocations: 139.8 kB / 0.6822 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.4578, allocations: 16.56 kB / 0.6822 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.4579, allocations: 26.61 kB / 0.6822 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4579, allocations: 2.844 kB / 0.6822 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4579, allocations: 0 / 0.6822 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4579, allocations: 1.75 kB / 0.6822 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.4588, allocations: 0.5099 MB / 0.6827 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4588, allocations: 1.031 kB / 0.6827 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.459, allocations: 24.08 kB / 0.6828 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.459, allocations: 2.094 kB / 0.6828 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.459, allocations: 6.484 kB / 0.6828 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.459, allocations: 5.219 kB / 0.6828 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.459, allocations: 0.9375 kB / 0.6828 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/0.4596, allocations: 370.1 kB / 0.6831 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.4596, allocations: 90.11 kB / 0.6832 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.4597, allocations: 2.438 kB / 0.6832 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.4599, allocations: 18.5 kB / 0.6832 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.4599, allocations: 9.609 kB / 0.6832 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.4599, allocations: 12.2 kB / 0.6832 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001218/0.4601, allocations: 146 kB / 0.6834 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4601, allocations: 0 / 0.6834 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003246/0.4604, allocations: 27.5 kB / 0.6834 GB, free: 9.977 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.0009159/0.4613, allocations: 0.8947 MB / 0.6843 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003472/0.4617, allocations: 121.8 kB / 0.6844 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4617, allocations: 0 / 0.6844 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.4618, allocations: 45.11 kB / 0.6844 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.4624, allocations: 79.89 kB / 0.6845 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.4653, allocations: 2.276 MB / 0.6867 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.4657, allocations: 0.7212 MB / 0.6875 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.4658, allocations: 23.81 kB / 0.6875 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/0.4659, allocations: 48.67 kB / 0.6875 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.4659, allocations: 1.219 kB / 0.6875 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.4945, allocations: 4.039 MB / 0.6915 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.645, allocations: 6.344 kB / 0.6915 GB, free: 4.25 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegratorWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)