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.001393/0.001393, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001678/0.001678, allocations: 215.1 kB / 22.99 MB, free: 4.977 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 0.9813/0.9813, allocations: 149.9 MB / 463.1 MB, free: 10.38 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",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.002212/0.002212, allocations: 66.83 kB / 0.641 GB, free: 10.19 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2036, allocations: 89.17 MB / 0.7281 GB, free: 1.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.003337/0.207, allocations: 1.469 MB / 0.7296 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.2079, allocations: 451 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.208, allocations: 0 / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.966e-05/0.208, allocations: 3.938 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.238e-05/0.2081, allocations: 11.92 kB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.2083, allocations: 23.92 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.2084, allocations: 51.84 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.2086, allocations: 11.98 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.368e-05/0.2086, allocations: 27.81 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.234e-05/0.2087, allocations: 23.89 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.2088, allocations: 4 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/0.2088, allocations: 4 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.2088, allocations: 15.98 kB / 0.7302 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.2089, allocations: 15.94 kB / 0.7302 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.209, allocations: 48.02 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.209, allocations: 0 / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.045e-06/0.209, allocations: 4 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.209, allocations: 0 / 0.7302 GB, free: 14.92 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.0006311/0.2097, allocations: 278.3 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.2097, allocations: 16.03 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/0.2099, allocations: 34.75 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.2099, allocations: 12.83 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.2101, allocations: 110.5 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.2101, allocations: 4.375 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.2101, allocations: 8.359 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.2103, allocations: 57.81 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2103, allocations: 0 / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2103, allocations: 0 / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2103, allocations: 0 / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.2105, allocations: 31.92 kB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/0.2111, allocations: 267.9 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.2112, allocations: 54.59 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.2113, allocations: 24.94 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.2113, allocations: 0 / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.2116, allocations: 67.39 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.2116, allocations: 0 / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002855/0.2119, allocations: 109.5 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.2119, allocations: 59.34 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.2121, allocations: 117.8 kB / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.2121, allocations: 25.7 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.2122, allocations: 92.09 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.957e-05/0.2123, allocations: 31.77 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.2124, allocations: 25.72 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.2125, allocations: 318.8 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.2126, allocations: 20 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.2126, allocations: 39.42 kB / 0.732 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.2127, allocations: 67.36 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2127, allocations: 0 / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001655/0.2129, allocations: 101.6 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2129, allocations: 5.875 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2129, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.213, allocations: 4 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.913e-05/0.213, allocations: 11.94 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.213, allocations: 3.984 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.2131, allocations: 11.94 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2131, allocations: 11.94 kB / 0.7322 GB, free: 12.72 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.0001125/0.2132, allocations: 114.7 kB / 0.7323 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.2132, allocations: 8.031 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.2133, allocations: 8.062 kB / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2133, allocations: 0 / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2133, allocations: 4 kB / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.2133, allocations: 3.984 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.2138, allocations: 329.4 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2138, allocations: 0 / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.2138, allocations: 8.062 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2138, allocations: 0 / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2138, allocations: 8.406 kB / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.2138, allocations: 7.938 kB / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2138, allocations: 0 / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.2141, allocations: 183.4 kB / 0.7328 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.2141, allocations: 7.953 kB / 0.7328 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.2141, allocations: 0 / 0.7328 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/0.2142, allocations: 15.92 kB / 0.7328 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.2142, allocations: 8.266 kB / 0.7328 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.2142, allocations: 0 / 0.7328 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.2143, allocations: 91.27 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2143, allocations: 0 / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002315/0.2145, allocations: 12 kB / 0.7329 GB, free: 11.85 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.0005814/0.2151, allocations: 0.7163 MB / 0.7336 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.2153, allocations: 51.91 kB / 0.7337 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2153, allocations: 0 / 0.7337 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.989e-05/0.2153, allocations: 23.94 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.2156, allocations: 11.92 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.2173, allocations: 1.385 MB / 0.7351 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.369e-05/0.2174, allocations: 83.33 kB / 0.7352 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.2174, allocations: 4 kB / 0.7352 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.2175, allocations: 23.42 kB / 0.7352 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of SimCode: time 4.5e-07/0.2175, allocations: 0 / 0.7352 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.2496, allocations: 2.313 MB / 0.7374 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.27, allocations: 6.078 kB / 0.7374 GB, free: 7.25 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 sys.exit(0), Time elapsed: 15.128707396797836] Failed to read output from testmodel.py, exit status != 0: 11.374800675082952 11.391101389 11.178901563 Calling exit ...