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.00169/0.00169, allocations: 116.8 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.002184/0.002184, allocations: 209.5 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.825/2.825, allocations: 476.7 MB / 0.7678 GB, free: 9.312 MB / 0.6075 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.002374/0.002374, allocations: 63.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.041, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002779/1.043, allocations: 1.501 MB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008509/1.044, allocations: 493 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/1.044, allocations: 1.062 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/1.044, allocations: 4.734 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/1.044, allocations: 10.28 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/1.045, allocations: 21.52 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.952e-05/1.045, allocations: 59.09 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/1.045, allocations: 10.98 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.145e-05/1.045, allocations: 15.31 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/1.045, allocations: 26.88 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/1.045, allocations: 4.469 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/1.045, allocations: 4.531 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/1.045, allocations: 8.172 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.207e-05/1.045, allocations: 28.39 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/1.045, allocations: 41.61 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.045, allocations: 5.469 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/1.045, allocations: 0 / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.4e-06/1.045, allocations: 0.8438 kB / 1.281 GB, free: 10.21 MB / 0.9981 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.0005466/1.046, allocations: 356.9 kB / 1.281 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/1.046, allocations: 9.375 kB / 1.281 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.785e-05/1.046, allocations: 5.188 kB / 1.281 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/1.046, allocations: 38.39 kB / 1.281 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/1.046, allocations: 12.83 kB / 1.281 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/1.046, allocations: 168.4 kB / 1.282 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/1.046, allocations: 2.5 kB / 1.282 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/1.046, allocations: 9.188 kB / 1.282 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/1.046, allocations: 61.69 kB / 1.282 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/1.046, allocations: 0 / 1.282 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/1.046, allocations: 5.453 kB / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/1.046, allocations: 0.9062 kB / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.04e-05/1.046, allocations: 26.2 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/1.047, allocations: 303.3 kB / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/1.047, allocations: 55.12 kB / 1.282 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/1.047, allocations: 21.89 kB / 1.282 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/1.047, allocations: 0.7969 kB / 1.282 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/1.047, allocations: 77.7 kB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/1.047, allocations: 3.938 kB / 1.282 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0002766/1.047, allocations: 96.97 kB / 1.282 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/1.047, allocations: 57.94 kB / 1.282 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/1.048, allocations: 107.3 kB / 1.282 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/1.048, allocations: 27.97 kB / 1.282 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/1.048, allocations: 91.11 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/1.048, allocations: 16.78 kB / 1.283 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/1.048, allocations: 32.41 kB / 1.283 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.048, allocations: 318.8 kB / 1.283 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/1.048, allocations: 15.56 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/1.048, allocations: 48.88 kB / 1.283 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/1.048, allocations: 69.25 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.048, allocations: 8.5 kB / 1.283 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001863/1.048, allocations: 97.2 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.048, allocations: 5.844 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.048, allocations: 1.094 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.048, allocations: 2.328 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/1.048, allocations: 12.83 kB / 1.283 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.048, allocations: 2.328 kB / 1.283 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/1.048, allocations: 14.38 kB / 1.283 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/1.049, allocations: 4.438 kB / 1.283 GB, free: 8.246 MB / 0.9981 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.741e-05/1.049, allocations: 128.6 kB / 1.283 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/1.049, allocations: 7.578 kB / 1.283 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/1.049, allocations: 9.875 kB / 1.283 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.049, allocations: 1.188 kB / 1.283 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/1.049, allocations: 0 / 1.283 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.049, allocations: 4.594 kB / 1.283 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/1.049, allocations: 364.4 kB / 1.284 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.049, allocations: 1.219 kB / 1.284 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/1.049, allocations: 8.078 kB / 1.284 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.049, allocations: 1.375 kB / 1.284 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/1.049, allocations: 4.641 kB / 1.284 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.049, allocations: 1.969 kB / 1.284 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.049, allocations: 0 / 1.284 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/1.049, allocations: 178 kB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/1.049, allocations: 83.91 kB / 1.284 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/1.049, allocations: 5.547 kB / 1.284 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/1.05, allocations: 10.05 kB / 1.284 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/1.05, allocations: 11.02 kB / 1.284 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/1.05, allocations: 2.75 kB / 1.284 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.097e-05/1.05, allocations: 84.59 kB / 1.284 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/1.05, allocations: 0 / 1.284 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002567/1.05, allocations: 16.19 kB / 1.284 GB, free: 7.414 MB / 0.9981 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.0004989/1.05, allocations: 0.719 MB / 1.285 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001458/1.051, allocations: 59.73 kB / 1.285 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.051, allocations: 0 / 1.285 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.23e-05/1.051, allocations: 21.77 kB / 1.285 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/1.051, allocations: 11.94 kB / 1.285 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/1.052, allocations: 1.387 MB / 1.286 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/1.053, allocations: 0.6854 MB / 1.287 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.878e-05/1.053, allocations: 5.219 kB / 1.287 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/1.053, allocations: 16.14 kB / 1.287 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/1.053, allocations: 5.25 kB / 1.287 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/1.071, allocations: 1.81 MB / 1.289 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/9.194, allocations: 9.906 kB / 1.289 GB, free: 4.254 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.345139765995555] Failed to read output from testmodel.py, exit status != 0: 9.314559268008452 9.326919851 8.278910806 Calling exit ...