Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001716/0.001716, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002082/0.002082, allocations: 218.3 kB / 23.03 MB, free: 4.945 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.264/3.264, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002878/0.002878, allocations: 71.14 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3994, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003115/0.4025, allocations: 1.481 MB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009222/0.4035, allocations: 446.9 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.4035, allocations: 4 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.797e-05/0.4035, allocations: 3.938 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.574e-05/0.4036, allocations: 7.922 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.4038, allocations: 23.92 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.4039, allocations: 51.84 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.404, allocations: 11.98 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.808e-05/0.4041, allocations: 27.92 kB / 1.347 GB, free: 13.92 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.354e-05/0.4042, allocations: 23.86 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.4042, allocations: 4 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.4042, allocations: 4 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.4042, allocations: 11.92 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.4043, allocations: 23.92 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.4044, allocations: 44.09 kB / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4044, allocations: 0 / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4044, allocations: 0 / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.4044, allocations: 0 / 1.347 GB, free: 13.81 MB / 1.045 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.0005374/0.405, allocations: 299.3 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.405, allocations: 8.031 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.005e-05/0.405, allocations: 192 / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.4051, allocations: 38.75 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.4051, allocations: 12.86 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.4052, allocations: 110.5 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.4052, allocations: 8.375 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.4053, allocations: 4.375 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.4054, allocations: 65.55 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.4054, allocations: 0 / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.4054, allocations: 4 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4054, allocations: 0 / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.572e-05/0.4055, allocations: 27.98 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.406, allocations: 263.8 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.4061, allocations: 54.56 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.4062, allocations: 16.95 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.4062, allocations: 4 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.4064, allocations: 79.36 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.542e-06/0.4064, allocations: 4 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.00024/0.4066, allocations: 97.56 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.4067, allocations: 63.39 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.4068, allocations: 105.8 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.4068, allocations: 29.69 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.4068, allocations: 84.14 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.4069, allocations: 23.8 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.4069, allocations: 33.7 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4071, allocations: 314.8 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.061e-05/0.4071, allocations: 19.98 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.343e-05/0.4072, allocations: 43.42 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.393e-05/0.4073, allocations: 67.38 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4073, allocations: 0 / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001539/0.4074, allocations: 97.8 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4074, allocations: 11.94 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4074, allocations: 0 / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4075, allocations: 4.031 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.482e-05/0.4075, allocations: 15.92 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4075, allocations: 4 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.249e-05/0.4076, allocations: 7.938 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.4076, allocations: 8.031 kB / 1.349 GB, free: 11.6 MB / 1.045 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.637e-05/0.4077, allocations: 121.8 kB / 1.349 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.4077, allocations: 4 kB / 1.349 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.4078, allocations: 8.062 kB / 1.349 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4078, allocations: 3.938 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4078, allocations: 0 / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.4078, allocations: 7.938 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.4082, allocations: 329.5 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4082, allocations: 0 / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.4082, allocations: 8 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4082, allocations: 0 / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.4082, allocations: 4.406 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.4083, allocations: 12.05 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4083, allocations: 0 / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.4084, allocations: 183.4 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.4085, allocations: 4 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.4085, allocations: 7.922 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.4086, allocations: 8 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.4086, allocations: 7.984 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.4086, allocations: 4 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.086e-05/0.4087, allocations: 87.27 kB / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4087, allocations: 0 / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002389/0.4089, allocations: 12 kB / 1.35 GB, free: 10.73 MB / 1.045 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.0004908/0.4094, allocations: 0.7124 MB / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.4095, allocations: 55.8 kB / 1.351 GB, free: 9.934 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4095, allocations: 0 / 1.351 GB, free: 9.934 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.517e-05/0.4096, allocations: 27.98 kB / 1.351 GB, free: 9.906 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.4099, allocations: 8.219 kB / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.4113, allocations: 1.383 MB / 1.352 GB, free: 8.418 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.607e-05/0.4114, allocations: 75.19 kB / 1.352 GB, free: 8.324 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.4114, allocations: 7.984 kB / 1.352 GB, free: 8.316 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.4115, allocations: 19.77 kB / 1.352 GB, free: 8.297 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.4115, allocations: 0 / 1.352 GB, free: 8.297 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.4336, allocations: 1.99 MB / 1.354 GB, free: 6.461 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.45, allocations: 5.938 kB / 1.354 GB, free: 6.457 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.283560478012078] Failed to read output from testmodel.py, exit status != 0: 11.609129371936433 11.6366489 11.22725413 Calling exit ...