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.001322/0.001322, allocations: 109 kB / 16.41 MB, free: 6.398 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.00124/0.00124, allocations: 187 kB / 17.34 MB, free: 5.691 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.1 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.9093/0.9093, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 68.05 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1893, allocations: 82.03 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003108/0.1924, allocations: 1.831 MB / 0.6781 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1935, allocations: 0.5376 MB / 0.6786 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1936, allocations: 4 kB / 0.6786 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.1937, allocations: 23.72 kB / 0.6787 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.1938, allocations: 27.73 kB / 0.6787 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.194, allocations: 63.86 kB / 0.6787 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.1943, allocations: 175.5 kB / 0.6789 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1944, allocations: 33.66 kB / 0.6789 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.1945, allocations: 55.73 kB / 0.679 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.1946, allocations: 55.7 kB / 0.6791 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.1946, allocations: 12 kB / 0.6791 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.072e-05/0.1946, allocations: 12 kB / 0.6791 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.1946, allocations: 35.83 kB / 0.6791 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.11e-05/0.1947, allocations: 67.55 kB / 0.6792 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1949, allocations: 127.3 kB / 0.6793 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1949, allocations: 4 kB / 0.6793 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1949, allocations: 4 kB / 0.6793 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.1949, allocations: 0 / 0.6793 GB, free: 7.242 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.0007929/0.1957, allocations: 482.4 kB / 0.6798 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1958, allocations: 16.02 kB / 0.6798 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.1958, allocations: 16.84 kB / 0.6798 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.1962, allocations: 236 kB / 0.68 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1962, allocations: 8.375 kB / 0.68 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.1962, allocations: 20.31 kB / 0.68 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.1965, allocations: 151.6 kB / 0.6802 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1965, allocations: 0 / 0.6802 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1965, allocations: 0 / 0.6802 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1966, allocations: 4 kB / 0.6802 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.1968, allocations: 83.81 kB / 0.6803 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009722/0.1978, allocations: 0.7434 MB / 0.681 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.1979, allocations: 42.5 kB / 0.681 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.198, allocations: 32.83 kB / 0.6811 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1981, allocations: 4 kB / 0.6811 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.1983, allocations: 126.7 kB / 0.6812 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1983, allocations: 0 / 0.6812 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.000486/0.1988, allocations: 161.4 kB / 0.6814 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/0.1989, allocations: 136.8 kB / 0.6815 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1991, allocations: 199 kB / 0.6817 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.1991, allocations: 33.7 kB / 0.6817 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.953e-05/0.1992, allocations: 124 kB / 0.6818 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.1993, allocations: 43.88 kB / 0.6819 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/0.1993, allocations: 41.7 kB / 0.6819 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1995, allocations: 330.8 kB / 0.6822 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1996, allocations: 39.91 kB / 0.6823 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.1998, allocations: 149 kB / 0.6824 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.2001, allocations: 206.5 kB / 0.6826 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2001, allocations: 4 kB / 0.6826 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004072/0.2006, allocations: 209.4 kB / 0.6828 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.2006, allocations: 8 kB / 0.6828 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2006, allocations: 4 kB / 0.6828 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2006, allocations: 7.938 kB / 0.6828 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.2007, allocations: 31.92 kB / 0.6828 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.2007, allocations: 15.91 kB / 0.6829 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.2009, allocations: 27.88 kB / 0.6829 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.2009, allocations: 12.47 kB / 0.6829 GB, free: 3.164 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.0001243/0.201, allocations: 137.7 kB / 0.683 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.2011, allocations: 15.91 kB / 0.683 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.711e-05/0.2011, allocations: 21.39 kB / 0.6831 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.2011, allocations: 8 kB / 0.6831 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2011, allocations: 0 / 0.6831 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2011, allocations: 0 / 0.6831 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007881/0.2019, allocations: 0.5171 MB / 0.6836 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2019, allocations: 0 / 0.6836 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.202, allocations: 19.92 kB / 0.6836 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.202, allocations: 0 / 0.6836 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2021, allocations: 8 kB / 0.6836 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2021, allocations: 0 / 0.6836 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.2021, allocations: 7.938 kB / 0.6836 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005266/0.2026, allocations: 364.2 kB / 0.684 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.2026, allocations: 93.05 kB / 0.6841 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.2027, allocations: 7.938 kB / 0.6841 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.2029, allocations: 19.98 kB / 0.6841 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.2029, allocations: 11.92 kB / 0.6841 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.2029, allocations: 8 kB / 0.6841 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001227/0.203, allocations: 136.6 kB / 0.6842 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.203, allocations: 0 / 0.6842 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003328/0.2034, allocations: 28 kB / 0.6843 GB, free: 1.668 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.0001451/0.2035, allocations: 111.2 kB / 0.6844 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003394/0.2039, allocations: 103.8 kB / 0.6845 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.2039, allocations: 4 kB / 0.6845 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.204, allocations: 52.91 kB / 0.6845 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/0.2046, allocations: 86.48 kB / 0.6846 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007349/0.2053, allocations: 385.9 kB / 0.685 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.2057, allocations: 0.7242 MB / 0.6857 GB, free: 152 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.2058, allocations: 15.44 kB / 0.6857 GB, free: 136 kB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.2058, allocations: 0 / 0.6857 GB, free: 136 kB / 0.5137 GB Notification: Performance of Templates: time 0.004404/0.2102, allocations: 2.161 MB / 0.6878 GB, free: 13.98 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)