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.001665/0.001665, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002012/0.002012, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.501/1.501, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.931/2.931, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 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.00192/0.00192, allocations: 71.83 kB / 1.165 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8874/0.8893, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002237/0.8916, allocations: 1.486 MB / 1.342 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006752/0.8922, allocations: 486.5 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.8923, allocations: 1.125 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.8923, allocations: 5.531 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.675e-05/0.8924, allocations: 13.72 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.8926, allocations: 18.03 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.908e-05/0.8926, allocations: 54.84 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.8927, allocations: 14.8 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.236e-05/0.8928, allocations: 23.36 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.8929, allocations: 22.44 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.8929, allocations: 4.438 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.8929, allocations: 4.469 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.8929, allocations: 9.344 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.893, allocations: 28.19 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.8931, allocations: 50.06 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8931, allocations: 1.312 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8931, allocations: 0 / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.8931, allocations: 0 / 1.342 GB, free: 14.77 MB / 1.061 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.0004685/0.8936, allocations: 368.4 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.8936, allocations: 10.34 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.737e-05/0.8936, allocations: 2.156 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.264e-05/0.8936, allocations: 37.59 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.8937, allocations: 3.531 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.703e-05/0.8938, allocations: 168.9 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.8938, allocations: 7.031 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.8938, allocations: 13.53 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.8939, allocations: 61.19 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.8939, allocations: 4.641 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.8939, allocations: 1.344 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.8939, allocations: 0 / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.973e-05/0.894, allocations: 27.66 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.8944, allocations: 299.3 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.634e-05/0.8945, allocations: 54.94 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.8945, allocations: 20.5 kB / 1.343 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.8945, allocations: 1.75 kB / 1.343 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.8947, allocations: 77.28 kB / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.8947, allocations: 1.875 kB / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0002014/0.8949, allocations: 95.84 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.8949, allocations: 61.52 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.095e-05/0.8949, allocations: 103.1 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.895, allocations: 29.62 kB / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.895, allocations: 94.03 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.895, allocations: 21.48 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.895, allocations: 27.94 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.8951, allocations: 322.2 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.59e-05/0.8951, allocations: 24.33 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.791e-05/0.8952, allocations: 41.09 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.127e-05/0.8952, allocations: 63.73 kB / 1.344 GB, free: 12.87 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8952, allocations: 5.094 kB / 1.344 GB, free: 12.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001239/0.8954, allocations: 97.8 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.8954, allocations: 5.875 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.8954, allocations: 4.031 kB / 1.344 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.8954, allocations: 3.531 kB / 1.344 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.8955, allocations: 13.19 kB / 1.344 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.8955, allocations: 1.719 kB / 1.344 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.8955, allocations: 17.77 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.8955, allocations: 7.531 kB / 1.344 GB, free: 12.79 MB / 1.061 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 5.294e-05/0.8956, allocations: 123 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.8956, allocations: 5.734 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.8956, allocations: 14.55 kB / 1.344 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8956, allocations: 0 / 1.344 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8956, allocations: 2.641 kB / 1.344 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8956, allocations: 3.938 kB / 1.344 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.8959, allocations: 351.2 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8959, allocations: 0.7031 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.54e-05/0.896, allocations: 4.469 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.896, allocations: 1.281 kB / 1.345 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.896, allocations: 5.906 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.896, allocations: 4 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.896, allocations: 0.6094 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.8961, allocations: 183.4 kB / 1.345 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.8961, allocations: 79.28 kB / 1.345 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.8961, allocations: 6.297 kB / 1.345 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.8962, allocations: 8.953 kB / 1.345 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.8963, allocations: 11.48 kB / 1.345 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.8963, allocations: 6.75 kB / 1.345 GB, free: 12.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.403e-05/0.8963, allocations: 84.81 kB / 1.345 GB, free: 11.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8963, allocations: 0 / 1.345 GB, free: 11.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002304/0.8965, allocations: 15.64 kB / 1.345 GB, free: 11.96 MB / 1.061 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.0002608/0.8968, allocations: 0.7172 MB / 1.346 GB, free: 11.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.8969, allocations: 55.28 kB / 1.346 GB, free: 11.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.8969, allocations: 0 / 1.346 GB, free: 11.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.783e-05/0.897, allocations: 28.98 kB / 1.346 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.8972, allocations: 14.8 kB / 1.346 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009843/0.8982, allocations: 1.378 MB / 1.347 GB, free: 9.961 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.999e-05/0.8983, allocations: 0.6842 MB / 1.348 GB, free: 9.266 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.736e-05/0.8983, allocations: 10.27 kB / 1.348 GB, free: 9.262 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.8984, allocations: 21.12 kB / 1.348 GB, free: 9.246 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.8984, allocations: 0 / 1.348 GB, free: 9.246 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.9149, allocations: 1.814 MB / 1.35 GB, free: 8.816 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.906, allocations: 12.7 kB / 1.35 GB, free: 8.809 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.215919599984773] Failed to read output from testmodel.py, exit status != 0: 9.030592743016314 9.056157643 8.158793902 Calling exit ...