Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0013/0.0013, allocations: 114.9 kB / 17.84 MB, free: 5.336 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.001392/0.001392, allocations: 201.6 kB / 20.8 MB, free: 2.387 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.546/1.546, allocations: 230.6 MB / 254.2 MB, free: 15.07 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 1.048/1.048, allocations: 150 MB / 460.2 MB, free: 5.219 MB / 350.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.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",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.002031/0.002031, allocations: 61.59 kB / 0.6368 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1673, allocations: 89.14 MB / 0.7238 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002886/0.1702, allocations: 1.478 MB / 0.7252 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.171, allocations: 484.6 kB / 0.7257 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.1711, allocations: 0 / 0.7257 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.1711, allocations: 3.938 kB / 0.7257 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/0.1712, allocations: 11.94 kB / 0.7257 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.1714, allocations: 27.89 kB / 0.7258 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.1714, allocations: 51.84 kB / 0.7258 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1716, allocations: 12 kB / 0.7258 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.713e-05/0.1716, allocations: 23.92 kB / 0.7258 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.1717, allocations: 19.86 kB / 0.7259 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1717, allocations: 4 kB / 0.7259 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.1717, allocations: 4 kB / 0.7259 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.1717, allocations: 15.97 kB / 0.7259 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.1718, allocations: 23.86 kB / 0.7259 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.1719, allocations: 44.05 kB / 0.7259 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1719, allocations: 4 kB / 0.7259 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1719, allocations: 0 / 0.7259 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.1719, allocations: 0 / 0.7259 GB, free: 1.859 MB / 0.5294 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.0006423/0.1725, allocations: 369.2 kB / 0.7263 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1726, allocations: 8.031 kB / 0.7263 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.529e-05/0.1726, allocations: 192 / 0.7263 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.1726, allocations: 34.75 kB / 0.7263 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.1726, allocations: 12.88 kB / 0.7264 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.1728, allocations: 172.3 kB / 0.7265 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1728, allocations: 8.312 kB / 0.7265 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.1728, allocations: 4.375 kB / 0.7265 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.173, allocations: 57.61 kB / 0.7266 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.173, allocations: 0 / 0.7266 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.173, allocations: 4 kB / 0.7266 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.173, allocations: 4 kB / 0.7266 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.843e-05/0.173, allocations: 23.92 kB / 0.7266 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.1736, allocations: 308.7 kB / 0.7269 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1737, allocations: 46.61 kB / 0.727 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.1737, allocations: 25 kB / 0.727 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.1738, allocations: 3.938 kB / 0.727 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.174, allocations: 75.38 kB / 0.7271 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.174, allocations: 0 / 0.7271 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002499/0.1742, allocations: 97.86 kB / 0.7271 GB, free: 460 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.1743, allocations: 59.39 kB / 0.7272 GB, free: 388 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/0.1744, allocations: 102.1 kB / 0.7273 GB, free: 276 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1744, allocations: 33.64 kB / 0.7273 GB, free: 236 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.1745, allocations: 88.08 kB / 0.7274 GB, free: 144 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.1745, allocations: 27.78 kB / 0.7274 GB, free: 116 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.1746, allocations: 33.7 kB / 0.7275 GB, free: 76 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1747, allocations: 322.8 kB / 0.7278 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.065e-05/0.1748, allocations: 15.98 kB / 0.7278 GB, free: 15.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/0.1748, allocations: 54.75 kB / 0.7279 GB, free: 15.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.1749, allocations: 67.41 kB / 0.7279 GB, free: 15.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1749, allocations: 8 kB / 0.7279 GB, free: 15.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001581/0.1751, allocations: 89.61 kB / 0.728 GB, free: 15.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1751, allocations: 4 kB / 0.728 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1751, allocations: 0 / 0.728 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1751, allocations: 4 kB / 0.728 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1752, allocations: 15.92 kB / 0.728 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1752, allocations: 0 / 0.728 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.1753, allocations: 19.83 kB / 0.728 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1753, allocations: 4 kB / 0.7281 GB, free: 15.45 MB / 0.545 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 0.000104/0.1754, allocations: 119.4 kB / 0.7282 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.1755, allocations: 7.984 kB / 0.7282 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.1755, allocations: 7.969 kB / 0.7282 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.1755, allocations: 4 kB / 0.7282 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1755, allocations: 0 / 0.7282 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1755, allocations: 3.938 kB / 0.7282 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.176, allocations: 354.4 kB / 0.7285 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.176, allocations: 0 / 0.7285 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.176, allocations: 8 kB / 0.7285 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.176, allocations: 0 / 0.7285 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.176, allocations: 11.92 kB / 0.7285 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.176, allocations: 7.938 kB / 0.7286 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.176, allocations: 0 / 0.7286 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.1762, allocations: 175.6 kB / 0.7287 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.1763, allocations: 85.05 kB / 0.7288 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.1763, allocations: 11.88 kB / 0.7288 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.1764, allocations: 8.062 kB / 0.7288 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.1764, allocations: 11.98 kB / 0.7288 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.1764, allocations: 4 kB / 0.7288 GB, free: 14.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.669e-05/0.1765, allocations: 87.34 kB / 0.7289 GB, free: 14.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1765, allocations: 0 / 0.7289 GB, free: 14.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002467/0.1767, allocations: 16 kB / 0.7289 GB, free: 14.43 MB / 0.545 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.0005204/0.1772, allocations: 0.7143 MB / 0.7296 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.1774, allocations: 51.86 kB / 0.7297 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1774, allocations: 0 / 0.7297 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.006e-05/0.1775, allocations: 27.92 kB / 0.7297 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1777, allocations: 8 kB / 0.7297 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.1794, allocations: 1.383 MB / 0.7311 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.1797, allocations: 0.6846 MB / 0.7317 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.957e-05/0.1798, allocations: 8.359 kB / 0.7317 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.1798, allocations: 15.44 kB / 0.7318 GB, free: 11.4 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.1798, allocations: 0 / 0.7318 GB, free: 11.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.1987, allocations: 1.812 MB / 0.7335 GB, free: 9.691 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.392, allocations: 16.84 kB / 0.7335 GB, free: 9.68 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.563995178963523] Failed to read output from testmodel.py, exit status != 0: 8.518029807019047 8.542392695 8.365660425 Calling exit ...