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.001614/0.001614, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002001/0.002001, allocations: 212 kB / 22.24 MB, free: 4.855 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.812 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.913/0.913, allocations: 145 MB / 457.4 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.001876/0.001876, allocations: 67.06 kB / 0.6336 GB, free: 6.242 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1973, allocations: 87.9 MB / 0.7194 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003348/0.2006, allocations: 1.775 MB / 0.7211 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2017, allocations: 0.5578 MB / 0.7217 GB, free: 12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.2018, allocations: 11.88 kB / 0.7217 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.962e-05/0.2019, allocations: 27.67 kB / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.338e-05/0.2019, allocations: 27.67 kB / 0.7217 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.2021, allocations: 71.91 kB / 0.7218 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.2023, allocations: 171.5 kB / 0.722 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.2024, allocations: 29.8 kB / 0.722 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.287e-05/0.2025, allocations: 51.78 kB / 0.722 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.935e-05/0.2026, allocations: 67.56 kB / 0.7221 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.2026, allocations: 8 kB / 0.7221 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.998e-05/0.2026, allocations: 12 kB / 0.7221 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.485e-05/0.2026, allocations: 27.86 kB / 0.7222 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.2027, allocations: 47.73 kB / 0.7222 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.2028, allocations: 139.2 kB / 0.7223 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2028, allocations: 4 kB / 0.7223 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.31e-07/0.2028, allocations: 0 / 0.7223 GB, free: 11.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.2029, allocations: 3.938 kB / 0.7223 GB, free: 11.31 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.0006169/0.2035, allocations: 431.2 kB / 0.7228 GB, free: 10.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.468e-05/0.2035, allocations: 8.031 kB / 0.7228 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.2035, allocations: 20.8 kB / 0.7228 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.2038, allocations: 182.1 kB / 0.723 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2038, allocations: 8.375 kB / 0.723 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.2038, allocations: 12.38 kB / 0.723 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.2041, allocations: 151 kB / 0.7231 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.2041, allocations: 0 / 0.7231 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.2041, allocations: 7.984 kB / 0.7231 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2041, allocations: 4 kB / 0.7231 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.2043, allocations: 63.89 kB / 0.7232 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007994/0.2051, allocations: 0.6611 MB / 0.7238 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.2053, allocations: 54.48 kB / 0.7239 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.715e-05/0.2054, allocations: 24.84 kB / 0.7239 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.2054, allocations: 4 kB / 0.7239 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.2056, allocations: 122.8 kB / 0.724 GB, free: 9.418 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.2056, allocations: 4 kB / 0.724 GB, free: 9.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004321/0.2061, allocations: 161.3 kB / 0.7242 GB, free: 9.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.2061, allocations: 136.5 kB / 0.7243 GB, free: 9.086 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.2063, allocations: 187.4 kB / 0.7245 GB, free: 8.895 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.2063, allocations: 29.7 kB / 0.7245 GB, free: 8.859 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.802e-05/0.2064, allocations: 136 kB / 0.7247 GB, free: 8.723 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.2065, allocations: 43.94 kB / 0.7247 GB, free: 8.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.2065, allocations: 41.7 kB / 0.7247 GB, free: 8.633 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.2067, allocations: 326.8 kB / 0.7251 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.2068, allocations: 39.91 kB / 0.7251 GB, free: 8.266 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.207, allocations: 147.1 kB / 0.7252 GB, free: 8.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.2073, allocations: 206.2 kB / 0.7254 GB, free: 7.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.2073, allocations: 0 / 0.7254 GB, free: 7.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003983/0.2077, allocations: 205.6 kB / 0.7256 GB, free: 7.609 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.2077, allocations: 8 kB / 0.7256 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2077, allocations: 4 kB / 0.7256 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2078, allocations: 4 kB / 0.7256 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.2079, allocations: 35.91 kB / 0.7257 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.2079, allocations: 8 kB / 0.7257 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.208, allocations: 27.88 kB / 0.7257 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.208, allocations: 8 kB / 0.7257 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.0001102/0.2081, allocations: 140.5 kB / 0.7258 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.2082, allocations: 24.16 kB / 0.7259 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.2082, allocations: 21.41 kB / 0.7259 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.2082, allocations: 4.234 kB / 0.7259 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.2082, allocations: 0 / 0.7259 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2082, allocations: 8 kB / 0.7259 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007568/0.209, allocations: 453.2 kB / 0.7263 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.209, allocations: 0 / 0.7263 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.2091, allocations: 23.92 kB / 0.7264 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2091, allocations: 4 kB / 0.7264 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.2091, allocations: 4 kB / 0.7264 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2091, allocations: 0 / 0.7264 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2091, allocations: 0 / 0.7264 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.2096, allocations: 368.1 kB / 0.7267 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.2097, allocations: 15.94 kB / 0.7267 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.2097, allocations: 8 kB / 0.7267 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.2099, allocations: 15.98 kB / 0.7268 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.2099, allocations: 15.92 kB / 0.7268 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.2099, allocations: 7.984 kB / 0.7268 GB, free: 6.355 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001115/0.21, allocations: 131.1 kB / 0.7269 GB, free: 6.227 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.21, allocations: 0 / 0.7269 GB, free: 6.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003263/0.2104, allocations: 31.94 kB / 0.7269 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.0001218/0.2105, allocations: 103.2 kB / 0.727 GB, free: 6.086 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.2108, allocations: 115.8 kB / 0.7271 GB, free: 5.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2108, allocations: 0 / 0.7271 GB, free: 5.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.2109, allocations: 47.91 kB / 0.7272 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.2115, allocations: 82.27 kB / 0.7273 GB, free: 5.855 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.2121, allocations: 360.8 kB / 0.7276 GB, free: 5.465 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.2122, allocations: 104.1 kB / 0.7277 GB, free: 5.344 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.599e-05/0.2123, allocations: 17.48 kB / 0.7277 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.2124, allocations: 19.44 kB / 0.7277 GB, free: 5.305 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.2124, allocations: 0 / 0.7277 GB, free: 5.305 MB / 0.545 GB Notification: Performance of Templates: time 0.005404/0.2178, allocations: 2.258 MB / 0.73 GB, free: 3.113 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: 5.601603163406253] Failed to read output from testmodel.py, exit status != 0: 0.22603347897529602 0.240005554 0.034160463 Calling exit ...