Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.001375/0.001375, allocations: 119 kB / 19.69 MB, free: 2.199 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.001768/0.001768, allocations: 225.1 kB / 23.01 MB, free: 5.047 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.9631/0.9631, allocations: 150 MB / 463.2 MB, free: 10.44 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.Conversions.Validation.BooleanToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",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.001972/0.001972, allocations: 67.77 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1786, allocations: 89.17 MB / 0.7283 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001917/0.1806, allocations: 0.5888 MB / 0.7289 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.182, allocations: 1.147 MB / 0.73 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.1821, allocations: 0 / 0.73 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.1821, allocations: 7.938 kB / 0.73 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.398e-05/0.1822, allocations: 11.92 kB / 0.73 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.1827, allocations: 111.8 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1828, allocations: 103.7 kB / 0.7303 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.574e-05/0.1829, allocations: 0 / 0.7303 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.047e-05/0.183, allocations: 31.98 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1831, allocations: 42.06 kB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.1831, allocations: 11.94 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.7e-05/0.1832, allocations: 19.98 kB / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.1832, allocations: 12 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.1833, allocations: 23.92 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1834, allocations: 91.94 kB / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1834, allocations: 0 / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1834, allocations: 3.938 kB / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1834, allocations: 0 / 0.7305 GB, free: 15.05 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004526/0.1839, allocations: 300 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1839, allocations: 12.03 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.184, allocations: 30.75 kB / 0.7308 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.184, allocations: 12.89 kB / 0.7308 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1841, allocations: 122.5 kB / 0.7309 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.1841, allocations: 384 / 0.7309 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1841, allocations: 8.375 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.741e-05/0.1842, allocations: 38.25 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1842, allocations: 3.938 kB / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.1842, allocations: 0 / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1842, allocations: 0 / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.039e-05/0.1843, allocations: 11.94 kB / 0.731 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.1847, allocations: 264 kB / 0.7312 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.773e-05/0.1847, allocations: 34.5 kB / 0.7313 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.1848, allocations: 8.922 kB / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.1848, allocations: 0 / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.1849, allocations: 71.28 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.1849, allocations: 0 / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001893/0.1851, allocations: 73.67 kB / 0.7314 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.1852, allocations: 59.41 kB / 0.7315 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.1853, allocations: 105.8 kB / 0.7316 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1853, allocations: 25.7 kB / 0.7316 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.1853, allocations: 92.09 kB / 0.7317 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.1853, allocations: 7.953 kB / 0.7317 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.1854, allocations: 29.7 kB / 0.7317 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1855, allocations: 318.8 kB / 0.732 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.1856, allocations: 31.98 kB / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.532e-05/0.1857, allocations: 50.5 kB / 0.7321 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.1858, allocations: 88.2 kB / 0.7322 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1858, allocations: 0 / 0.7322 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002555/0.1861, allocations: 151.3 kB / 0.7323 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.1861, allocations: 44.56 kB / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1861, allocations: 3.938 kB / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1861, allocations: 0 / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.001e-05/0.1862, allocations: 11.88 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1862, allocations: 0 / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.1864, allocations: 23.97 kB / 0.7324 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.1864, allocations: 8.375 kB / 0.7324 GB, free: 12.81 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.753e-05/0.1865, allocations: 127.8 kB / 0.7326 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.1865, allocations: 3.953 kB / 0.7326 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.1865, allocations: 8 kB / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1865, allocations: 4 kB / 0.7326 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1865, allocations: 0 / 0.7326 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1865, allocations: 0 / 0.7326 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.1867, allocations: 140.7 kB / 0.7327 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1867, allocations: 0 / 0.7327 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.604e-05/0.1867, allocations: 0 / 0.7327 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1867, allocations: 0 / 0.7327 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.1867, allocations: 4 kB / 0.7327 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1867, allocations: 4 kB / 0.7327 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1867, allocations: 64 / 0.7327 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.1868, allocations: 96.98 kB / 0.7328 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.1868, allocations: 7.953 kB / 0.7328 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.1869, allocations: 0 / 0.7328 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.1869, allocations: 0 / 0.7328 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.1869, allocations: 3.984 kB / 0.7328 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1869, allocations: 4 kB / 0.7328 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.938e-05/0.187, allocations: 91.27 kB / 0.7329 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.187, allocations: 0 / 0.7329 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002142/0.1872, allocations: 19.94 kB / 0.7329 GB, free: 12.23 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004232/0.1876, allocations: 0.6309 MB / 0.7335 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.1878, allocations: 115.7 kB / 0.7336 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1878, allocations: 0 / 0.7336 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.1878, allocations: 16.03 kB / 0.7337 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.188, allocations: 12.08 kB / 0.7337 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.1895, allocations: 1.389 MB / 0.735 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1898, allocations: 0.6846 MB / 0.7357 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.761e-05/0.1898, allocations: 0 / 0.7357 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.1898, allocations: 19.42 kB / 0.7357 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.1898, allocations: 0 / 0.7357 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.2177, allocations: 2.112 MB / 0.7378 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.89, allocations: 9.312 kB / 0.7378 GB, free: 7.23 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.758057533999818] Failed to read output from testmodel.py, exit status != 0: 10.992530777999491 11.008134655 10.821549242 Calling exit ...