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.001066/0.001066, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008852/0.008853, allocations: 171.2 kB / 16.26 MB, free: 6.676 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.332 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 1.088/1.088, allocations: 143.2 MB / 434.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.000402, allocations: 12 kB / 0.5164 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2012, allocations: 83.41 MB / 0.5978 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.001997/0.2032, allocations: 1.525 MB / 0.5993 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008003/0.204, allocations: 0.5105 MB / 0.5998 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.2041, allocations: 7.938 kB / 0.5998 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.2043, allocations: 19.86 kB / 0.5998 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.097e-05/0.2043, allocations: 19.78 kB / 0.5999 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.2046, allocations: 63.94 kB / 0.5999 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.2048, allocations: 163.4 kB / 0.6001 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.2049, allocations: 45.66 kB / 0.6001 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.205, allocations: 43.73 kB / 0.6002 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.2051, allocations: 55.62 kB / 0.6002 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.2051, allocations: 4 kB / 0.6002 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.533e-05/0.2051, allocations: 4 kB / 0.6002 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.505e-05/0.2052, allocations: 19.92 kB / 0.6002 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.915e-05/0.2053, allocations: 81.31 kB / 0.6003 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.2054, allocations: 119.7 kB / 0.6004 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2054, allocations: 0 / 0.6004 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2055, allocations: 4 kB / 0.6004 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2055, allocations: 0 / 0.6004 GB, free: 4.949 MB / 0.4981 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.0006745/0.2061, allocations: 454.8 kB / 0.6009 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2062, allocations: 8.031 kB / 0.6009 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.2062, allocations: 24.75 kB / 0.6009 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.2065, allocations: 231.8 kB / 0.6011 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2065, allocations: 8.375 kB / 0.6011 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.2066, allocations: 12.38 kB / 0.6012 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.2069, allocations: 163.6 kB / 0.6013 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2069, allocations: 3.984 kB / 0.6013 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.2069, allocations: 4 kB / 0.6013 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2069, allocations: 0 / 0.6013 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.2072, allocations: 79.89 kB / 0.6014 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009083/0.2081, allocations: 0.7509 MB / 0.6021 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.2083, allocations: 50.55 kB / 0.6022 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.2084, allocations: 40.78 kB / 0.6022 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.2084, allocations: 8 kB / 0.6022 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.2087, allocations: 134.6 kB / 0.6023 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.2087, allocations: 0 / 0.6023 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.000513/0.2092, allocations: 189.4 kB / 0.6025 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.2093, allocations: 128.5 kB / 0.6027 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.2095, allocations: 203.8 kB / 0.6028 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2095, allocations: 29.7 kB / 0.6029 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.2096, allocations: 131.8 kB / 0.603 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.2096, allocations: 35.7 kB / 0.603 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.2096, allocations: 25.7 kB / 0.6031 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2098, allocations: 334.8 kB / 0.6034 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.2099, allocations: 47.97 kB / 0.6034 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.2101, allocations: 153.3 kB / 0.6036 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.2104, allocations: 214.5 kB / 0.6038 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2104, allocations: 0 / 0.6038 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004118/0.2109, allocations: 225.4 kB / 0.604 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2109, allocations: 4 kB / 0.604 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2109, allocations: 4 kB / 0.604 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.2109, allocations: 8 kB / 0.604 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.2111, allocations: 35.92 kB / 0.604 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.2111, allocations: 11.92 kB / 0.604 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.2112, allocations: 31.83 kB / 0.6041 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.2113, allocations: 16.09 kB / 0.6041 GB, free: 0.8242 MB / 0.4981 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.0001094/0.2114, allocations: 132.2 kB / 0.6042 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.2114, allocations: 15.81 kB / 0.6042 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.2115, allocations: 25.39 kB / 0.6043 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2115, allocations: 0 / 0.6043 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.2115, allocations: 4 kB / 0.6043 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2115, allocations: 0 / 0.6043 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007189/0.2122, allocations: 0.5327 MB / 0.6048 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2122, allocations: 0 / 0.6048 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.2124, allocations: 27.92 kB / 0.6048 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2124, allocations: 7.938 kB / 0.6048 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.2124, allocations: 0 / 0.6048 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.2124, allocations: 4 kB / 0.6048 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2124, allocations: 3.938 kB / 0.6048 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3458/0.5583, allocations: 364.7 kB / 0.6052 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.5583, allocations: 93.8 kB / 0.6053 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.5584, allocations: 6.203 kB / 0.6053 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.5586, allocations: 19.55 kB / 0.6053 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.5587, allocations: 18.11 kB / 0.6053 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.5587, allocations: 3.281 kB / 0.6053 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001336/0.5588, allocations: 139.4 kB / 0.6054 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5588, allocations: 2.406 kB / 0.6054 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004543/0.5593, allocations: 33.47 kB / 0.6055 GB, free: 40.48 MB / 0.4981 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.0001397/0.5595, allocations: 104.7 kB / 0.6056 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003581/0.5598, allocations: 130 kB / 0.6057 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5598, allocations: 0 / 0.6057 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.56, allocations: 62.58 kB / 0.6058 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006153/0.5606, allocations: 61.89 kB / 0.6058 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.5611, allocations: 402.3 kB / 0.6062 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.5613, allocations: 0.7209 MB / 0.6069 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.227e-05/0.5614, allocations: 22.98 kB / 0.6069 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.5614, allocations: 18.5 kB / 0.6069 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of SimCode: time 1.333e-06/0.5614, allocations: 0 / 0.6069 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.004549/0.566, allocations: 1.808 MB / 0.6087 GB, free: 39.38 MB / 0.4981 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)