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.001411/0.001411, allocations: 109 kB / 20.48 MB, free: 1.473 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.001412/0.001412, allocations: 210.7 kB / 23.79 MB, free: 4.684 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.478/1.478, allocations: 230.6 MB / 257.6 MB, free: 8.207 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.015/1.015, allocations: 150 MB / 464 MB, free: 10.54 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.002074/0.002074, allocations: 61.89 kB / 0.642 GB, free: 10.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1999, allocations: 89.18 MB / 0.7291 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.003112/0.203, allocations: 1.486 MB / 0.7305 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000997/0.204, allocations: 486.8 kB / 0.731 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.2041, allocations: 4 kB / 0.731 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.2041, allocations: 7.922 kB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.858e-05/0.2042, allocations: 7.922 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.2043, allocations: 23.92 kB / 0.731 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.2044, allocations: 55.84 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2045, allocations: 11.98 kB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.2046, allocations: 19.92 kB / 0.7311 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.532e-05/0.2047, allocations: 31.84 kB / 0.7312 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2047, allocations: 4 kB / 0.7312 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.2047, allocations: 4 kB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.2047, allocations: 4 kB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.2048, allocations: 27.86 kB / 0.7312 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.2049, allocations: 44.09 kB / 0.7312 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2049, allocations: 0 / 0.7312 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2049, allocations: 0 / 0.7312 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2049, allocations: 4 kB / 0.7312 GB, free: 15.11 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.0005181/0.2054, allocations: 278.3 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2054, allocations: 12.03 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.259e-05/0.2055, allocations: 8.172 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.2055, allocations: 42.73 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.2055, allocations: 4.891 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.2057, allocations: 118.4 kB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2057, allocations: 8.375 kB / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.2057, allocations: 4.375 kB / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.2058, allocations: 57.61 kB / 0.7317 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2058, allocations: 0 / 0.7317 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2059, allocations: 4 kB / 0.7318 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2059, allocations: 7.938 kB / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.973e-05/0.2059, allocations: 27.86 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.2065, allocations: 271.8 kB / 0.732 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.2066, allocations: 54.62 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.2066, allocations: 24.91 kB / 0.7321 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.2066, allocations: 0 / 0.7321 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.2068, allocations: 71.38 kB / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2068, allocations: 0 / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002476/0.2071, allocations: 101.6 kB / 0.7323 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.2072, allocations: 59.39 kB / 0.7323 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.2073, allocations: 101.9 kB / 0.7324 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.2073, allocations: 29.7 kB / 0.7325 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.2073, allocations: 92.06 kB / 0.7326 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.2074, allocations: 27.73 kB / 0.7326 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.2074, allocations: 29.7 kB / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2076, allocations: 322.8 kB / 0.7329 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.2076, allocations: 19.98 kB / 0.7329 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.2077, allocations: 47.42 kB / 0.733 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.2078, allocations: 59.38 kB / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2078, allocations: 4 kB / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001486/0.208, allocations: 93.83 kB / 0.7331 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.208, allocations: 8.031 kB / 0.7331 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.208, allocations: 0 / 0.7331 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.208, allocations: 4 kB / 0.7331 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.2081, allocations: 15.92 kB / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2081, allocations: 0 / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/0.2082, allocations: 15.89 kB / 0.7332 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.2082, allocations: 8.062 kB / 0.7332 GB, free: 12.89 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 9.954e-05/0.2083, allocations: 116.6 kB / 0.7333 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.2083, allocations: 12.3 kB / 0.7333 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.2083, allocations: 12.06 kB / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2083, allocations: 4 kB / 0.7333 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2083, allocations: 0 / 0.7333 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2083, allocations: 7.875 kB / 0.7333 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.2088, allocations: 329.5 kB / 0.7336 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2088, allocations: 0 / 0.7336 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.2088, allocations: 11.94 kB / 0.7337 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2088, allocations: 0 / 0.7337 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.2088, allocations: 11.94 kB / 0.7337 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2088, allocations: 0 / 0.7337 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2088, allocations: 3.984 kB / 0.7337 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.209, allocations: 175.5 kB / 0.7338 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.209, allocations: 3.953 kB / 0.7338 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.209, allocations: 11.92 kB / 0.7339 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.2091, allocations: 4 kB / 0.7339 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.2092, allocations: 7.984 kB / 0.7339 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2092, allocations: 8 kB / 0.7339 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.091e-05/0.2092, allocations: 83.27 kB / 0.734 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2092, allocations: 0 / 0.734 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002486/0.2095, allocations: 16 kB / 0.734 GB, free: 12.02 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.0005134/0.21, allocations: 0.7085 MB / 0.7347 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.2101, allocations: 64.08 kB / 0.7347 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2101, allocations: 0 / 0.7347 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.785e-05/0.2102, allocations: 27.92 kB / 0.7347 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.2105, allocations: 9.859 kB / 0.7348 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.212, allocations: 1.389 MB / 0.7361 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.2123, allocations: 0.6849 MB / 0.7368 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.2123, allocations: 7.984 kB / 0.7368 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.2124, allocations: 15.44 kB / 0.7368 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.2124, allocations: 0 / 0.7368 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.2348, allocations: 1.929 MB / 0.7387 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.25, allocations: 16.8 kB / 0.7387 GB, free: 7.18 MB / 0.5606 GB " [Timeout remaining time 649] (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.163467292964924] Failed to read output from testmodel.py, exit status != 0: 11.41648732800968 11.446987728 11.236604803 Calling exit ...