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.001462/0.001462, allocations: 106.7 kB / 16.45 MB, free: 5.91 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.001498/0.001498, allocations: 213.6 kB / 19.42 MB, free: 3.605 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.488/1.488, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.9744/0.9744, allocations: 144.9 MB / 453.8 MB, free: 0.7266 MB / 350.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.002128/0.002128, allocations: 69.3 kB / 0.6285 GB, free: 10.11 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2029, allocations: 87.82 MB / 0.7143 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003837/0.2067, allocations: 1.836 MB / 0.7161 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.2081, allocations: 0.5851 MB / 0.7166 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.2083, allocations: 11.88 kB / 0.7166 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.2085, allocations: 23.73 kB / 0.7167 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.2086, allocations: 31.72 kB / 0.7167 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.2089, allocations: 63.86 kB / 0.7168 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.2092, allocations: 163.5 kB / 0.7169 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.2094, allocations: 37.66 kB / 0.7169 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.2095, allocations: 63.72 kB / 0.717 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.2096, allocations: 59.64 kB / 0.7171 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.2096, allocations: 8 kB / 0.7171 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.426e-05/0.2096, allocations: 12 kB / 0.7171 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.2097, allocations: 27.86 kB / 0.7171 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.157e-05/0.2098, allocations: 71.52 kB / 0.7172 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.21, allocations: 139.3 kB / 0.7173 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.21, allocations: 0 / 0.7173 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.21, allocations: 0 / 0.7173 GB, free: 15.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.21, allocations: 0 / 0.7173 GB, free: 15.15 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.0009288/0.2109, allocations: 484.3 kB / 0.7178 GB, free: 14.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.211, allocations: 8.031 kB / 0.7178 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.2111, allocations: 16.84 kB / 0.7178 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.2115, allocations: 236 kB / 0.718 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.2115, allocations: 12.31 kB / 0.718 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.2115, allocations: 28.31 kB / 0.7181 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.2119, allocations: 138.8 kB / 0.7182 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2119, allocations: 4 kB / 0.7182 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.2119, allocations: 4 kB / 0.7182 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2119, allocations: 4 kB / 0.7182 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.2122, allocations: 75.81 kB / 0.7183 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.2133, allocations: 0.7356 MB / 0.719 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.2135, allocations: 50.55 kB / 0.719 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.2136, allocations: 40.77 kB / 0.7191 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.2137, allocations: 0 / 0.7191 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002745/0.2139, allocations: 130.7 kB / 0.7192 GB, free: 13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.2139, allocations: 0 / 0.7192 GB, free: 13 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.000569/0.2145, allocations: 161.6 kB / 0.7194 GB, free: 12.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.2146, allocations: 136.7 kB / 0.7195 GB, free: 12.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.2148, allocations: 207.6 kB / 0.7197 GB, free: 12.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.2149, allocations: 29.69 kB / 0.7197 GB, free: 12.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.215, allocations: 135.7 kB / 0.7198 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/0.2151, allocations: 35.88 kB / 0.7199 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/0.2151, allocations: 45.66 kB / 0.7199 GB, free: 12.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2153, allocations: 326.8 kB / 0.7202 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2154, allocations: 39.97 kB / 0.7203 GB, free: 11.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.2157, allocations: 148.2 kB / 0.7204 GB, free: 11.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.2161, allocations: 206.3 kB / 0.7206 GB, free: 11.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.2161, allocations: 4 kB / 0.7206 GB, free: 11.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004823/0.2165, allocations: 201.5 kB / 0.7208 GB, free: 11.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.2166, allocations: 8 kB / 0.7208 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2166, allocations: 4 kB / 0.7208 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.2166, allocations: 4 kB / 0.7208 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.2167, allocations: 39.91 kB / 0.7209 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.2168, allocations: 8 kB / 0.7209 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.2169, allocations: 23.88 kB / 0.7209 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.2169, allocations: 12.19 kB / 0.7209 GB, free: 11.08 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.0001366/0.2171, allocations: 144 kB / 0.721 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.2171, allocations: 23.84 kB / 0.7211 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.2172, allocations: 21.41 kB / 0.7211 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2172, allocations: 0 / 0.7211 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2172, allocations: 7.938 kB / 0.7211 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.2172, allocations: 3.984 kB / 0.7211 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/0.2181, allocations: 0.5054 MB / 0.7216 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2181, allocations: 0 / 0.7216 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.2182, allocations: 19.98 kB / 0.7216 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.2182, allocations: 7.984 kB / 0.7216 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.2182, allocations: 0 / 0.7216 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.2182, allocations: 4 kB / 0.7216 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2182, allocations: 3.938 kB / 0.7216 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/0.2188, allocations: 360.2 kB / 0.722 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.2189, allocations: 97.02 kB / 0.7221 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.2189, allocations: 0 / 0.7221 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.2191, allocations: 16.03 kB / 0.7221 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.2191, allocations: 19.91 kB / 0.7221 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.2191, allocations: 4 kB / 0.7221 GB, free: 9.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001453/0.2193, allocations: 147.2 kB / 0.7222 GB, free: 9.605 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2193, allocations: 3.938 kB / 0.7222 GB, free: 9.602 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00036/0.2197, allocations: 31.95 kB / 0.7223 GB, free: 9.57 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.0001658/0.2198, allocations: 99.19 kB / 0.7224 GB, free: 9.465 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.2202, allocations: 119.7 kB / 0.7225 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2202, allocations: 0 / 0.7225 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.2204, allocations: 48.98 kB / 0.7225 GB, free: 9.301 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006299/0.221, allocations: 73.22 kB / 0.7226 GB, free: 9.234 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007347/0.2217, allocations: 359.3 kB / 0.7229 GB, free: 8.852 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.2222, allocations: 0.7242 MB / 0.7236 GB, free: 8.102 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.412e-05/0.2222, allocations: 17.55 kB / 0.7237 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.2223, allocations: 15.44 kB / 0.7237 GB, free: 8.066 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.2223, allocations: 0 / 0.7237 GB, free: 8.066 MB / 0.545 GB Notification: Performance of Templates: time 0.006374/0.2287, allocations: 2.058 MB / 0.7257 GB, free: 6.035 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.763381984084845] Failed to read output from testmodel.py, exit status != 0: 0.23753532022237778 0.251746635 0.038671268 Calling exit ...