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.001651/0.001651, allocations: 101.5 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.00203/0.00203, allocations: 217.5 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.651/2.651, allocations: 476.7 MB / 0.7714 GB, free: 4.305 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.002143/0.002143, allocations: 63.44 kB / 1.118 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3051, allocations: 170 MB / 1.284 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002701/0.3078, allocations: 1.498 MB / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007888/0.3086, allocations: 484.6 kB / 1.286 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.3086, allocations: 0 / 1.286 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.3087, allocations: 7.922 kB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.26e-05/0.3087, allocations: 7.938 kB / 1.286 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.3089, allocations: 19.92 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.573e-05/0.309, allocations: 55.78 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.524e-05/0.3091, allocations: 19.97 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.007e-05/0.3091, allocations: 15.94 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.3092, allocations: 23.91 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.3092, allocations: 4 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.3092, allocations: 8 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.3092, allocations: 4 kB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.3093, allocations: 27.86 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.526e-05/0.3094, allocations: 39.39 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3094, allocations: 3.938 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3094, allocations: 4 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.3094, allocations: 3.938 kB / 1.286 GB, free: 9.586 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.000482/0.3099, allocations: 290.1 kB / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3099, allocations: 12.03 kB / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.28e-05/0.3099, allocations: 4.188 kB / 1.287 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.31, allocations: 34.73 kB / 1.287 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.31, allocations: 8.891 kB / 1.287 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.3101, allocations: 110.5 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3101, allocations: 4.375 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.3101, allocations: 8.375 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.3102, allocations: 61.55 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.3102, allocations: 0 / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3102, allocations: 4 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3103, allocations: 8 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.007e-05/0.3103, allocations: 19.98 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.3108, allocations: 283.7 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.3109, allocations: 50.56 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.495e-05/0.3109, allocations: 24.95 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.3109, allocations: 0 / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.3111, allocations: 79.39 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.3111, allocations: 0 / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002204/0.3113, allocations: 97.86 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.3114, allocations: 63.39 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.574e-05/0.3114, allocations: 97.86 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.3115, allocations: 37.78 kB / 1.288 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.3115, allocations: 91.97 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.3115, allocations: 15.91 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.3116, allocations: 29.7 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3117, allocations: 322.8 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-05/0.3118, allocations: 19.98 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.979e-05/0.3118, allocations: 51.3 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.95e-05/0.3119, allocations: 63.38 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3119, allocations: 0 / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001465/0.3121, allocations: 97.56 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3121, allocations: 6.656 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.3121, allocations: 7.969 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3121, allocations: 4 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.703e-05/0.3122, allocations: 11.98 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3122, allocations: 0 / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.3122, allocations: 11.94 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.3122, allocations: 4 kB / 1.288 GB, free: 7.375 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 8.701e-05/0.3123, allocations: 121.8 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.3123, allocations: 7.953 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.3124, allocations: 12.06 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3124, allocations: 288 / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3124, allocations: 0 / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3124, allocations: 7.938 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.3128, allocations: 333.5 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3128, allocations: 4 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.3128, allocations: 8 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3128, allocations: 0 / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3128, allocations: 7.922 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3128, allocations: 4 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3128, allocations: 4 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.313, allocations: 179.5 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.313, allocations: 7.938 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.313, allocations: 3.938 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.3131, allocations: 4 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.3131, allocations: 11.98 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.3131, allocations: 8 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.653e-05/0.3132, allocations: 83.27 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3132, allocations: 0 / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002462/0.3134, allocations: 16 kB / 1.289 GB, free: 6.488 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.0004454/0.3139, allocations: 0.7085 MB / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.314, allocations: 55.86 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.314, allocations: 0 / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.108e-05/0.3141, allocations: 27.92 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.3143, allocations: 11.98 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.3157, allocations: 1.392 MB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.316, allocations: 0.6846 MB / 1.292 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.664e-05/0.316, allocations: 7.984 kB / 1.292 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.316, allocations: 15.81 kB / 1.292 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.316, allocations: 0 / 1.292 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.3373, allocations: 1.941 MB / 1.294 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.06, allocations: 13.94 kB / 1.294 GB, free: 1.637 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: 17.43567868997343] Failed to read output from testmodel.py, exit status != 0: 11.731666884967126 11.235770388 10.923235884 Calling exit ...