Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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.00137/0.00137, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001442/0.001442, allocations: 209.2 kB / 23.78 MB, free: 4.527 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.003/1.003, allocations: 150 MB / 464 MB, free: 10.22 MB / 366.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="cs",version="2.0",platforms={"static"}) [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.002073/0.002073, allocations: 69.78 kB / 0.6419 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2013, allocations: 89.17 MB / 0.729 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.003579/0.2048, allocations: 1.478 MB / 0.7305 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.2059, allocations: 454.9 kB / 0.7309 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.2059, allocations: 4 kB / 0.7309 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.005e-05/0.206, allocations: 3.938 kB / 0.7309 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.656e-05/0.2061, allocations: 3.938 kB / 0.7309 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.2062, allocations: 27.91 kB / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.2064, allocations: 47.86 kB / 0.731 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2065, allocations: 15.97 kB / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.311e-05/0.2066, allocations: 23.86 kB / 0.731 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.224e-05/0.2066, allocations: 23.92 kB / 0.731 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.2067, allocations: 8 kB / 0.731 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.348e-05/0.2067, allocations: 4 kB / 0.731 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.2067, allocations: 7.984 kB / 0.731 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.2068, allocations: 15.94 kB / 0.7311 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.2069, allocations: 56.02 kB / 0.7311 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2069, allocations: 0 / 0.7311 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2069, allocations: 0 / 0.7311 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2069, allocations: 0 / 0.7311 GB, free: 14.64 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005671/0.2075, allocations: 282.3 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.2075, allocations: 8.031 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.491e-05/0.2076, allocations: 8.188 kB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.2076, allocations: 34.75 kB / 0.7314 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.2076, allocations: 8.891 kB / 0.7314 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2078, allocations: 114.4 kB / 0.7316 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.2078, allocations: 4.359 kB / 0.7316 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.2078, allocations: 8.375 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.2079, allocations: 61.56 kB / 0.7316 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.2079, allocations: 0 / 0.7316 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.208, allocations: 0 / 0.7316 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.208, allocations: 0 / 0.7316 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.58e-05/0.208, allocations: 31.92 kB / 0.7317 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.2086, allocations: 263.9 kB / 0.7319 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.2088, allocations: 50.59 kB / 0.732 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.2088, allocations: 28.94 kB / 0.732 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.2088, allocations: 3.938 kB / 0.732 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.2091, allocations: 67.39 kB / 0.732 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 3.948e-06/0.2091, allocations: 3.984 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002774/0.2093, allocations: 101.6 kB / 0.7321 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.2094, allocations: 59.39 kB / 0.7322 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2095, allocations: 109.8 kB / 0.7323 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.2095, allocations: 33.64 kB / 0.7323 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.2096, allocations: 88.09 kB / 0.7324 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.2096, allocations: 23.78 kB / 0.7324 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.2097, allocations: 29.72 kB / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2099, allocations: 322.8 kB / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.2099, allocations: 20 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.21, allocations: 43.42 kB / 0.7328 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.2101, allocations: 67.36 kB / 0.7329 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2101, allocations: 384 / 0.7329 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001562/0.2102, allocations: 93.61 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2103, allocations: 8 kB / 0.733 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2103, allocations: 0 / 0.733 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2103, allocations: 7.938 kB / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.29e-05/0.2104, allocations: 11.94 kB / 0.733 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2104, allocations: 0 / 0.733 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.91e-05/0.2104, allocations: 19.88 kB / 0.733 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.2105, allocations: 4 kB / 0.733 GB, free: 12.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001005/0.2106, allocations: 113.8 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.2106, allocations: 8.031 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.2106, allocations: 8.062 kB / 0.7332 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2106, allocations: 0 / 0.7332 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.2106, allocations: 7.984 kB / 0.7332 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2106, allocations: 3.938 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.2111, allocations: 329.4 kB / 0.7335 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2111, allocations: 0 / 0.7335 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.2111, allocations: 7.938 kB / 0.7335 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2111, allocations: 0 / 0.7335 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.2111, allocations: 11.94 kB / 0.7335 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2111, allocations: 4 kB / 0.7335 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2111, allocations: 0 / 0.7335 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.2113, allocations: 179.8 kB / 0.7337 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.2113, allocations: 7.953 kB / 0.7337 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.2114, allocations: 8 kB / 0.7337 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.2114, allocations: 11.97 kB / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.2115, allocations: 11.98 kB / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2115, allocations: 0 / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.2116, allocations: 79.28 kB / 0.7338 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2116, allocations: 4 kB / 0.7338 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002452/0.2118, allocations: 16 kB / 0.7338 GB, free: 11.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005081/0.2123, allocations: 0.7203 MB / 0.7345 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.2125, allocations: 55.86 kB / 0.7346 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2125, allocations: 0 / 0.7346 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.726e-05/0.2125, allocations: 23.94 kB / 0.7346 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.2128, allocations: 12.86 kB / 0.7346 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.2143, allocations: 1.381 MB / 0.736 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.79e-05/0.2144, allocations: 79.33 kB / 0.736 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.718e-05/0.2144, allocations: 4 kB / 0.736 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.2145, allocations: 19.42 kB / 0.7361 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2145, allocations: 0 / 0.7361 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.2381, allocations: 1.99 MB / 0.738 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.4, allocations: 12 kB / 0.738 GB, free: 7.305 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.318277755053714] Failed to read output from testmodel.py, exit status != 0: 11.55638856405858 11.572013206 11.361904724 Calling exit ...