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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 222.8 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9242/0.9242, allocations: 145 MB / 458.2 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 70.8 kB / 0.6343 GB, free: 6.238 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1919, allocations: 87.89 MB / 0.7201 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003737/0.1956, allocations: 1.779 MB / 0.7219 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1969, allocations: 0.5578 MB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.1971, allocations: 7.938 kB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.1973, allocations: 27.73 kB / 0.7225 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.1974, allocations: 19.73 kB / 0.7225 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1976, allocations: 75.84 kB / 0.7226 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.1979, allocations: 167.5 kB / 0.7227 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1981, allocations: 29.8 kB / 0.7227 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1982, allocations: 63.66 kB / 0.7228 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.429e-05/0.1983, allocations: 51.69 kB / 0.7228 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.1984, allocations: 12 kB / 0.7229 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.312e-05/0.1984, allocations: 12 kB / 0.7229 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.1984, allocations: 27.86 kB / 0.7229 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.895e-05/0.1985, allocations: 47.73 kB / 0.7229 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.1987, allocations: 147.2 kB / 0.7231 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1987, allocations: 3.938 kB / 0.7231 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1987, allocations: 0 / 0.7231 GB, free: 11.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.1987, allocations: 0 / 0.7231 GB, free: 11.32 MB / 0.545 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.0008548/0.1996, allocations: 431.2 kB / 0.7235 GB, free: 10.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1996, allocations: 16.03 kB / 0.7235 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.1997, allocations: 20.8 kB / 0.7235 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.2001, allocations: 178.1 kB / 0.7237 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2001, allocations: 8.375 kB / 0.7237 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.2001, allocations: 12.38 kB / 0.7237 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.2005, allocations: 149.8 kB / 0.7239 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2005, allocations: 0 / 0.7239 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.2005, allocations: 15.98 kB / 0.7239 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2005, allocations: 4 kB / 0.7239 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.2007, allocations: 67.89 kB / 0.724 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009988/0.2017, allocations: 0.6572 MB / 0.7246 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.2019, allocations: 42.56 kB / 0.7246 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.202, allocations: 40.77 kB / 0.7247 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.202, allocations: 0 / 0.7247 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.2023, allocations: 122.8 kB / 0.7248 GB, free: 9.418 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.2023, allocations: 0 / 0.7248 GB, free: 9.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005359/0.2028, allocations: 165.8 kB / 0.7249 GB, free: 9.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/0.2029, allocations: 140.5 kB / 0.7251 GB, free: 9.082 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.2031, allocations: 187.5 kB / 0.7253 GB, free: 8.891 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.2031, allocations: 25.7 kB / 0.7253 GB, free: 8.859 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.2033, allocations: 136 kB / 0.7254 GB, free: 8.723 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.526e-05/0.2033, allocations: 43.69 kB / 0.7255 GB, free: 8.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.2034, allocations: 37.7 kB / 0.7255 GB, free: 8.637 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2035, allocations: 326.8 kB / 0.7258 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.2037, allocations: 39.97 kB / 0.7258 GB, free: 8.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.2039, allocations: 139.3 kB / 0.726 GB, free: 8.082 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.2042, allocations: 218.2 kB / 0.7262 GB, free: 7.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2042, allocations: 0 / 0.7262 GB, free: 7.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004346/0.2047, allocations: 201.2 kB / 0.7264 GB, free: 7.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2047, allocations: 8 kB / 0.7264 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.2047, allocations: 4 kB / 0.7264 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.2047, allocations: 4 kB / 0.7264 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2049, allocations: 35.91 kB / 0.7264 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2049, allocations: 8.406 kB / 0.7264 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.205, allocations: 31.88 kB / 0.7265 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.205, allocations: 8 kB / 0.7265 GB, free: 7.516 MB / 0.545 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.0001461/0.2052, allocations: 141.7 kB / 0.7266 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.2052, allocations: 15.91 kB / 0.7266 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.2053, allocations: 25.33 kB / 0.7266 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.2053, allocations: 4 kB / 0.7266 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2053, allocations: 0 / 0.7266 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2053, allocations: 0 / 0.7266 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000796/0.2061, allocations: 457.2 kB / 0.7271 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2061, allocations: 0 / 0.7271 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.2062, allocations: 23.92 kB / 0.7271 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.2062, allocations: 4 kB / 0.7271 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.2062, allocations: 320 / 0.7271 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.2063, allocations: 4 kB / 0.7271 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.2063, allocations: 4 kB / 0.7271 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.2068, allocations: 375 kB / 0.7275 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.2069, allocations: 15.94 kB / 0.7275 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.2069, allocations: 4 kB / 0.7275 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.2071, allocations: 11.98 kB / 0.7275 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.2071, allocations: 19.92 kB / 0.7275 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.2071, allocations: 7.984 kB / 0.7275 GB, free: 6.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001274/0.2073, allocations: 131.1 kB / 0.7277 GB, free: 6.223 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2073, allocations: 0 / 0.7277 GB, free: 6.223 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000342/0.2076, allocations: 27.94 kB / 0.7277 GB, free: 6.195 MB / 0.545 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.0001338/0.2077, allocations: 110.2 kB / 0.7278 GB, free: 6.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003484/0.2081, allocations: 107.8 kB / 0.7279 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2081, allocations: 1 kB / 0.7279 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.2082, allocations: 56.03 kB / 0.7279 GB, free: 5.922 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/0.2088, allocations: 76.14 kB / 0.728 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/0.2096, allocations: 386.2 kB / 0.7284 GB, free: 5.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.2097, allocations: 108.1 kB / 0.7285 GB, free: 5.305 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.2097, allocations: 23.38 kB / 0.7285 GB, free: 5.281 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.2097, allocations: 0 / 0.7285 GB, free: 5.281 MB / 0.545 GB Notification: Performance of Templates: time 0.004844/0.2146, allocations: 2.144 MB / 0.7306 GB, free: 3.148 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.068735201377422] Failed to read output from testmodel.py, exit status != 0: 0.22396475076675415 0.239592944 0.037567929 Calling exit ...