Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.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.001516/0.001516, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.002317/0.002317, allocations: 227.9 kB / 23.01 MB, free: 5.004 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.617/1.617, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.007/1.007, allocations: 150 MB / 463.2 MB, free: 10.5 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.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",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.002723/0.002723, allocations: 66.8 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2185, allocations: 89.18 MB / 0.7284 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002303/0.2208, allocations: 0.814 MB / 0.7292 GB, free: 472 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.2227, allocations: 1.326 MB / 0.7305 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.2228, allocations: 8 kB / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.154e-05/0.2229, allocations: 11.81 kB / 0.7305 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.223, allocations: 27.78 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008973/0.2239, allocations: 312.5 kB / 0.7308 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000369/0.2242, allocations: 295.5 kB / 0.7311 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.2244, allocations: 33.62 kB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.2245, allocations: 119.8 kB / 0.7312 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.2248, allocations: 107.7 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.2248, allocations: 28 kB / 0.7314 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.852e-05/0.2249, allocations: 39.98 kB / 0.7314 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.225, allocations: 27.91 kB / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.2251, allocations: 103.6 kB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.2254, allocations: 267.4 kB / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2254, allocations: 0 / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.416e-06/0.2254, allocations: 4 kB / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.2254, allocations: 4 kB / 0.7318 GB, free: 13.77 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007175/0.2262, allocations: 458.8 kB / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.2262, allocations: 8.031 kB / 0.7322 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/0.2263, allocations: 42.73 kB / 0.7323 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.2263, allocations: 20.84 kB / 0.7323 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2265, allocations: 126.9 kB / 0.7324 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.2265, allocations: 11.94 kB / 0.7324 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/0.2266, allocations: 27.92 kB / 0.7324 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.2268, allocations: 89.61 kB / 0.7325 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2268, allocations: 8 kB / 0.7325 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.2268, allocations: 0 / 0.7325 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.2268, allocations: 4 kB / 0.7325 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.2269, allocations: 51.97 kB / 0.7326 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/0.2277, allocations: 463.4 kB / 0.733 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.228, allocations: 66.5 kB / 0.7331 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.228, allocations: 28.97 kB / 0.7331 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.228, allocations: 3.984 kB / 0.7331 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.2283, allocations: 119.4 kB / 0.7332 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.2283, allocations: 0 / 0.7332 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0004259/0.2288, allocations: 183.9 kB / 0.7334 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.2288, allocations: 51.41 kB / 0.7335 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.229, allocations: 169.5 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.229, allocations: 33.7 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2291, allocations: 116 kB / 0.7338 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.2292, allocations: 27.84 kB / 0.7338 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.2293, allocations: 73.67 kB / 0.7339 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.2295, allocations: 322.8 kB / 0.7342 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.2297, allocations: 95.94 kB / 0.7343 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.2299, allocations: 142 kB / 0.7344 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.2303, allocations: 261.5 kB / 0.7347 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.2303, allocations: 4 kB / 0.7347 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006647/0.2309, allocations: 402.4 kB / 0.735 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.301e-05/0.231, allocations: 97.09 kB / 0.7351 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.231, allocations: 7.984 kB / 0.7351 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.231, allocations: 4 kB / 0.7351 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.324e-05/0.2311, allocations: 12.12 kB / 0.7352 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2311, allocations: 4 kB / 0.7352 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.2316, allocations: 87.8 kB / 0.7352 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.2316, allocations: 15.98 kB / 0.7353 GB, free: 9.898 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.0001529/0.2318, allocations: 149.7 kB / 0.7354 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.2318, allocations: 19.84 kB / 0.7354 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.2319, allocations: 12.78 kB / 0.7354 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2319, allocations: 0 / 0.7354 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2319, allocations: 0 / 0.7354 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2319, allocations: 0 / 0.7354 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.2321, allocations: 192.6 kB / 0.7356 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2321, allocations: 3.938 kB / 0.7356 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.2322, allocations: 12 kB / 0.7356 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2322, allocations: 0 / 0.7356 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.2322, allocations: 15.92 kB / 0.7356 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2322, allocations: 0 / 0.7356 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2322, allocations: 0 / 0.7356 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.2325, allocations: 164.9 kB / 0.7358 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.2325, allocations: 15.84 kB / 0.7358 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.2325, allocations: 8 kB / 0.7358 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.92e-05/0.2326, allocations: 0 / 0.7358 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.2326, allocations: 11.98 kB / 0.7358 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.2326, allocations: 11.98 kB / 0.7358 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000106/0.2327, allocations: 115.2 kB / 0.736 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2327, allocations: 0 / 0.736 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002795/0.233, allocations: 48 kB / 0.736 GB, free: 9.059 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0006488/0.2337, allocations: 0.7135 MB / 0.7367 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005463/0.2342, allocations: 342 kB / 0.737 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.2342, allocations: 4 kB / 0.737 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.391e-05/0.2343, allocations: 39.92 kB / 0.7371 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.2346, allocations: 26.5 kB / 0.7371 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.2376, allocations: 2.254 MB / 0.7393 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.238, allocations: 0.7122 MB / 0.74 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.632e-05/0.2381, allocations: 12.64 kB / 0.74 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.2381, allocations: 35.42 kB / 0.74 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.2381, allocations: 4 kB / 0.74 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.2722, allocations: 4.385 MB / 0.7443 GB, free: 500 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.09, allocations: 0 / 0.7443 GB, free: 500 kB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.178481502000068] Failed to read output from testmodel.py, exit status != 0: 11.196998376999545 11.211013 10.982510754 Calling exit ...