Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.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.001476/0.001476, allocations: 109 kB / 20.48 MB, free: 1.477 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.001549/0.001549, allocations: 215.5 kB / 23.79 MB, free: 4.684 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.509/1.509, allocations: 230.6 MB / 257.6 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9744/0.9744, allocations: 150 MB / 464 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002335/0.002335, allocations: 62.34 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.222, allocations: 89.18 MB / 0.7291 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002975/0.225, allocations: 0.7199 MB / 0.7298 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.2277, allocations: 1.295 MB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.2278, allocations: 0 / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.736e-05/0.2279, allocations: 7.875 kB / 0.7311 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.228, allocations: 19.84 kB / 0.7311 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.229, allocations: 253.2 kB / 0.7314 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005197/0.2296, allocations: 255.5 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.2297, allocations: 16.2 kB / 0.7316 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.23, allocations: 107.8 kB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.2302, allocations: 91.75 kB / 0.7318 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.574e-05/0.2303, allocations: 24 kB / 0.7318 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.2304, allocations: 35.98 kB / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.785e-05/0.2304, allocations: 27.92 kB / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.2306, allocations: 95.73 kB / 0.732 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.231, allocations: 223.6 kB / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.231, allocations: 7.984 kB / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.873e-06/0.231, allocations: 0 / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.231, allocations: 0 / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009064/0.2319, allocations: 425.3 kB / 0.7326 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2319, allocations: 8.031 kB / 0.7326 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/0.232, allocations: 4.188 kB / 0.7326 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.285e-05/0.232, allocations: 46.67 kB / 0.7327 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/0.2321, allocations: 20.89 kB / 0.7327 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006684/0.2328, allocations: 186.5 kB / 0.7329 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.2328, allocations: 12.38 kB / 0.7329 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.553e-05/0.2329, allocations: 28.34 kB / 0.7329 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.2332, allocations: 131.4 kB / 0.733 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2332, allocations: 0 / 0.733 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/0.2333, allocations: 11.98 kB / 0.733 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2333, allocations: 0 / 0.733 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.2335, allocations: 59.95 kB / 0.7331 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.2347, allocations: 0.4957 MB / 0.7336 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.235, allocations: 137.2 kB / 0.7337 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.2351, allocations: 57.7 kB / 0.7338 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.2351, allocations: 0 / 0.7338 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004863/0.2356, allocations: 216.2 kB / 0.734 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.452e-06/0.2356, allocations: 0 / 0.734 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.000646/0.2363, allocations: 312.2 kB / 0.7343 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.2364, allocations: 93.09 kB / 0.7344 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.2365, allocations: 130 kB / 0.7345 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.2365, allocations: 37.7 kB / 0.7345 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.744e-05/0.2366, allocations: 100.7 kB / 0.7346 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.2367, allocations: 47.64 kB / 0.7347 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.2368, allocations: 77.67 kB / 0.7347 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.237, allocations: 326.8 kB / 0.735 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.2372, allocations: 84.23 kB / 0.7351 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.2374, allocations: 160.2 kB / 0.7353 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.2379, allocations: 249 kB / 0.7355 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2379, allocations: 0 / 0.7355 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000615/0.2385, allocations: 357.3 kB / 0.7359 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.778e-05/0.2385, allocations: 71.42 kB / 0.7359 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2385, allocations: 4 kB / 0.7359 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.2386, allocations: 11.88 kB / 0.7359 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.2387, allocations: 19.92 kB / 0.736 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.2387, allocations: 4 kB / 0.736 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.239, allocations: 63.83 kB / 0.736 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.2391, allocations: 23.98 kB / 0.736 GB, free: 9.836 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001579/0.2392, allocations: 143.8 kB / 0.7362 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.2393, allocations: 15.91 kB / 0.7362 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.2393, allocations: 12.44 kB / 0.7362 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.2393, allocations: 7.938 kB / 0.7362 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.2393, allocations: 0 / 0.7362 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.2393, allocations: 7.922 kB / 0.7362 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006756/0.24, allocations: 0.5826 MB / 0.7368 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.24, allocations: 0 / 0.7368 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.2401, allocations: 15.94 kB / 0.7368 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2401, allocations: 3.938 kB / 0.7368 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.2401, allocations: 7.984 kB / 0.7368 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2401, allocations: 0 / 0.7368 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2401, allocations: 4 kB / 0.7368 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004848/0.2406, allocations: 426.6 kB / 0.7372 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.2406, allocations: 7.953 kB / 0.7372 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.2406, allocations: 15.92 kB / 0.7373 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2408, allocations: 7.984 kB / 0.7373 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/0.2409, allocations: 23.95 kB / 0.7373 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.2409, allocations: 23.98 kB / 0.7373 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.624e-05/0.241, allocations: 97.58 kB / 0.7374 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.241, allocations: 0 / 0.7374 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003608/0.2413, allocations: 60 kB / 0.7375 GB, free: 8.316 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009621/0.2423, allocations: 0.9653 MB / 0.7384 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005685/0.2429, allocations: 318.8 kB / 0.7387 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2429, allocations: 96 / 0.7387 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.243, allocations: 87.83 kB / 0.7388 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.2434, allocations: 25.69 kB / 0.7388 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.2465, allocations: 2.293 MB / 0.7411 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.2469, allocations: 0.7048 MB / 0.7417 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.974e-05/0.247, allocations: 25.42 kB / 0.7418 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.2471, allocations: 39.42 kB / 0.7418 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.2471, allocations: 0 / 0.7418 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.2762, allocations: 4.345 MB / 0.746 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.63, allocations: 8.906 kB / 0.7461 GB, free: 15.46 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.565286494034808] Failed to read output from testmodel.py, exit status != 0: 11.794393763004337 11.823057002 11.585961298 Calling exit ...