Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001369/0.001369, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001712/0.001712, allocations: 209.6 kB / 22.99 MB, free: 4.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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.073/1.073, allocations: 149.9 MB / 463 MB, free: 10.41 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: IBPSA 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.002108/0.002108, allocations: 70.94 kB / 0.6416 GB, free: 9.672 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2136, allocations: 89.17 MB / 0.7286 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003204/0.2168, allocations: 1.777 MB / 0.7304 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.218, allocations: 0.5455 MB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-05/0.2181, allocations: 7.938 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.2182, allocations: 23.73 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.454e-05/0.2183, allocations: 31.72 kB / 0.731 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.2185, allocations: 71.88 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.2188, allocations: 163.5 kB / 0.7312 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2189, allocations: 33.78 kB / 0.7312 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.864e-05/0.219, allocations: 63.66 kB / 0.7313 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.633e-05/0.2191, allocations: 51.7 kB / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.2191, allocations: 12 kB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.181e-05/0.2191, allocations: 8 kB / 0.7313 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.2192, allocations: 31.84 kB / 0.7314 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.2192, allocations: 51.73 kB / 0.7314 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.2194, allocations: 135.2 kB / 0.7316 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2195, allocations: 4 kB / 0.7316 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.428e-06/0.2195, allocations: 3.984 kB / 0.7316 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2195, allocations: 0 / 0.7316 GB, free: 13.55 MB / 0.5606 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.0008052/0.2203, allocations: 431.1 kB / 0.732 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2203, allocations: 8.031 kB / 0.732 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.2204, allocations: 24.84 kB / 0.732 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.2207, allocations: 186.1 kB / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.2207, allocations: 8.375 kB / 0.7322 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.2207, allocations: 12.38 kB / 0.7322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.2211, allocations: 146.2 kB / 0.7323 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.2211, allocations: 7.922 kB / 0.7324 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.2211, allocations: 8 kB / 0.7324 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2211, allocations: 0 / 0.7324 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.2213, allocations: 71.89 kB / 0.7324 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009203/0.2222, allocations: 0.657 MB / 0.7331 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.2224, allocations: 46.55 kB / 0.7331 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.2225, allocations: 28.84 kB / 0.7331 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.2225, allocations: 4 kB / 0.7331 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.2228, allocations: 132.5 kB / 0.7333 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.2228, allocations: 0 / 0.7333 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0004944/0.2233, allocations: 165.5 kB / 0.7334 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.379e-05/0.2234, allocations: 132.5 kB / 0.7336 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.2236, allocations: 192.2 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.2236, allocations: 29.7 kB / 0.7338 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.2237, allocations: 135.9 kB / 0.7339 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.2238, allocations: 43.88 kB / 0.7339 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.2238, allocations: 37.7 kB / 0.734 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.224, allocations: 326.8 kB / 0.7343 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.2241, allocations: 39.97 kB / 0.7343 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.2243, allocations: 143.4 kB / 0.7345 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.2246, allocations: 210.3 kB / 0.7347 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2246, allocations: 0 / 0.7347 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004062/0.225, allocations: 209.4 kB / 0.7349 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2251, allocations: 8 kB / 0.7349 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2251, allocations: 4 kB / 0.7349 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.2251, allocations: 4 kB / 0.7349 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.2252, allocations: 35.91 kB / 0.7349 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2252, allocations: 4 kB / 0.7349 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.2254, allocations: 27.88 kB / 0.7349 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.2254, allocations: 12.25 kB / 0.735 GB, free: 9.742 MB / 0.5606 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.0001229/0.2255, allocations: 137.7 kB / 0.7351 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.2255, allocations: 19.89 kB / 0.7351 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.2256, allocations: 21.34 kB / 0.7351 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2256, allocations: 4 kB / 0.7351 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2256, allocations: 0 / 0.7351 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2256, allocations: 240 / 0.7351 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007431/0.2264, allocations: 453.5 kB / 0.7356 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2264, allocations: 8.062 kB / 0.7356 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.2265, allocations: 23.92 kB / 0.7356 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2265, allocations: 4 kB / 0.7356 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2265, allocations: 0 / 0.7356 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.2265, allocations: 4 kB / 0.7356 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2265, allocations: 3.938 kB / 0.7356 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.227, allocations: 352.2 kB / 0.7359 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.2271, allocations: 27.88 kB / 0.736 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.2271, allocations: 4 kB / 0.736 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.2273, allocations: 11.98 kB / 0.736 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.2273, allocations: 19.86 kB / 0.736 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.2273, allocations: 7.984 kB / 0.736 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001166/0.2274, allocations: 135.1 kB / 0.7361 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2274, allocations: 0 / 0.7361 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003354/0.2278, allocations: 27.95 kB / 0.7362 GB, free: 8.426 MB / 0.5606 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.0001316/0.2279, allocations: 103.2 kB / 0.7363 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003446/0.2282, allocations: 111.8 kB / 0.7364 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2282, allocations: 3.938 kB / 0.7364 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.2284, allocations: 52.89 kB / 0.7364 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.229, allocations: 60.83 kB / 0.7365 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.2296, allocations: 352.5 kB / 0.7368 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.2297, allocations: 108.1 kB / 0.7369 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.592e-05/0.2298, allocations: 25.94 kB / 0.7369 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.2298, allocations: 23.36 kB / 0.737 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2298, allocations: 0 / 0.737 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of Templates: time 0.00579/0.2356, allocations: 2.231 MB / 0.7391 GB, free: 5.371 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.106013972312212] Failed to read output from testmodel.py, exit status != 0: 0.2445358093827963 0.258424231 0.035956852000000004 Calling exit ...