Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001847/0.001847, allocations: 97.92 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.002167/0.002167, allocations: 218.3 kB / 23.03 MB, free: 4.949 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.819/2.819, allocations: 476.8 MB / 0.7715 GB, free: 3.914 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_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.001977/0.001977, allocations: 64.75 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3198, allocations: 170 MB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002825/0.3226, allocations: 1.49 MB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000851/0.3234, allocations: 444.7 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.3235, allocations: 4 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.3235, allocations: 7.922 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.325e-05/0.3236, allocations: 11.92 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.3237, allocations: 19.92 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.877e-05/0.3238, allocations: 47.91 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3239, allocations: 11.98 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.204e-05/0.324, allocations: 27.86 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.387e-05/0.3241, allocations: 19.91 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3241, allocations: 8 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.3241, allocations: 4 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.3241, allocations: 7.938 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.3242, allocations: 23.92 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.3243, allocations: 49.28 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3243, allocations: 0 / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3243, allocations: 0 / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3243, allocations: 0 / 1.286 GB, free: 8.574 MB / 0.9825 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.0005147/0.3248, allocations: 290.1 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3248, allocations: 8.031 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.242e-05/0.3248, allocations: 192 / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.3249, allocations: 46.67 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.3249, allocations: 8.891 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.325, allocations: 102.5 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3251, allocations: 12.38 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.3251, allocations: 4.375 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.3252, allocations: 57.61 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3252, allocations: 4 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.485e-06/0.3252, allocations: 3.938 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3252, allocations: 0 / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.773e-05/0.3253, allocations: 27.98 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.3258, allocations: 259.9 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.3259, allocations: 54.66 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.326, allocations: 24.88 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.326, allocations: 4 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.3261, allocations: 75.31 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.3261, allocations: 0 / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002416/0.3264, allocations: 101.6 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.3264, allocations: 59.34 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.3265, allocations: 109.8 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.3265, allocations: 25.7 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.3266, allocations: 96.02 kB / 1.287 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.3266, allocations: 19.84 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.3267, allocations: 33.7 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3268, allocations: 322.8 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.648e-05/0.3269, allocations: 12 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-05/0.3269, allocations: 51.36 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.79e-05/0.327, allocations: 67.36 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.327, allocations: 0 / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000157/0.3272, allocations: 93.58 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3272, allocations: 8 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3272, allocations: 3.984 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3272, allocations: 4.031 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.3273, allocations: 16 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.3273, allocations: 4 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.951e-05/0.3274, allocations: 11.92 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.3274, allocations: 4 kB / 1.288 GB, free: 6.371 MB / 0.9825 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.739e-05/0.3275, allocations: 118.7 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.3275, allocations: 7.953 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.3275, allocations: 8.062 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3275, allocations: 0 / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3275, allocations: 0 / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3275, allocations: 7.938 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.328, allocations: 333.8 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.328, allocations: 0 / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.328, allocations: 7.984 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.328, allocations: 288 / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.328, allocations: 3.938 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.328, allocations: 4 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.328, allocations: 0 / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.3282, allocations: 183.5 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.3282, allocations: 7.953 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3282, allocations: 7.938 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.3283, allocations: 8 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.3284, allocations: 7.984 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.3284, allocations: 3.984 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.079e-05/0.3284, allocations: 83.28 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3284, allocations: 0 / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002404/0.3287, allocations: 12 kB / 1.289 GB, free: 5.504 MB / 0.9825 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.0004748/0.3291, allocations: 0.7124 MB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.3293, allocations: 55.84 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3293, allocations: 3.938 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.957e-05/0.3293, allocations: 36.14 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.3296, allocations: 11.98 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.3311, allocations: 1.385 MB / 1.291 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.456e-05/0.3312, allocations: 71.33 kB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.3312, allocations: 4 kB / 1.291 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.3312, allocations: 23.5 kB / 1.291 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3312, allocations: 0 / 1.291 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.3534, allocations: 1.993 MB / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.34, allocations: 5.156 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.091262837057002] Failed to read output from testmodel.py, exit status != 0: 12.077509223017842 11.537898599 11.208889976 Calling exit ...