Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001798/0.001798, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002238/0.002238, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.109/3.109, allocations: 0.49 GB / 0.7959 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_12_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.001949/0.001949, allocations: 63.59 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.307, allocations: 176.1 MB / 1.327 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002791/0.3098, allocations: 1.511 MB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008477/0.3106, allocations: 478.8 kB / 1.329 GB, free: 32 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.3107, allocations: 4 kB / 1.329 GB, free: 28 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.3107, allocations: 3.938 kB / 1.329 GB, free: 24 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.3108, allocations: 11.92 kB / 1.329 GB, free: 12 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.3109, allocations: 23.91 kB / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.494e-05/0.311, allocations: 59.84 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.208e-05/0.3111, allocations: 8 kB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.3112, allocations: 23.86 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.3112, allocations: 23.92 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.3113, allocations: 4 kB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.3113, allocations: 4 kB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.3113, allocations: 11.97 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.3113, allocations: 27.86 kB / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.3115, allocations: 40.11 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3115, allocations: 0 / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.31e-07/0.3115, allocations: 0 / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3115, allocations: 4 kB / 1.329 GB, free: 15.79 MB / 1.029 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.0004911/0.312, allocations: 282.2 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.312, allocations: 12.03 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.653e-05/0.312, allocations: 4.125 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.312, allocations: 42.73 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.3121, allocations: 4.891 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3122, allocations: 110.5 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3122, allocations: 12.38 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3122, allocations: 4.375 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.3123, allocations: 61.55 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3123, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.3123, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3123, allocations: 8 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.4e-05/0.3124, allocations: 31.91 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.3129, allocations: 271.8 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.313, allocations: 54.59 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.313, allocations: 24.94 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.313, allocations: 0 / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.3132, allocations: 67.39 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.3132, allocations: 0 / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0002248/0.3134, allocations: 109.6 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.3135, allocations: 55.41 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/0.3136, allocations: 105.8 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3136, allocations: 29.7 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.3136, allocations: 84.09 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.3137, allocations: 31.75 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.3137, allocations: 25.72 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3138, allocations: 326.8 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.82e-05/0.3139, allocations: 19.98 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.454e-05/0.3139, allocations: 39.44 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.263e-05/0.314, allocations: 67.36 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.314, allocations: 0 / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001524/0.3142, allocations: 101.9 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3142, allocations: 9.906 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3142, allocations: 0 / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3142, allocations: 4 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.3143, allocations: 15.88 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3143, allocations: 0 / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.3144, allocations: 19.88 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3144, allocations: 4 kB / 1.331 GB, free: 13.57 MB / 1.029 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.053e-05/0.3145, allocations: 116.6 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.3145, allocations: 8 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.3145, allocations: 12.33 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3145, allocations: 4 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3145, allocations: 0 / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3145, allocations: 7.922 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.3149, allocations: 329.5 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3149, allocations: 4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.3149, allocations: 7.938 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.315, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.315, allocations: 7.938 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.315, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.315, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.3151, allocations: 179.5 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.3151, allocations: 3.953 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3152, allocations: 11.94 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-05/0.3152, allocations: 3.984 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.3153, allocations: 7.984 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.3153, allocations: 8 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.3153, allocations: 83.28 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3153, allocations: 0 / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002444/0.3156, allocations: 19.98 kB / 1.332 GB, free: 12.69 MB / 1.029 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.0004582/0.316, allocations: 0.7125 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.3162, allocations: 55.86 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3162, allocations: 4 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.241e-05/0.3162, allocations: 23.92 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.3165, allocations: 15.98 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3179, allocations: 1.373 MB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.3182, allocations: 0.6846 MB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.3182, allocations: 4 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.3182, allocations: 23.42 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3182, allocations: 0 / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.3393, allocations: 1.942 MB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.08, allocations: 5 kB / 1.336 GB, free: 7.852 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.460357611009385] Failed to read output from testmodel.py, exit status != 0: 11.23785841499921 11.26476823 10.948507739 Calling exit ...