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.001494/0.001494, allocations: 104.3 kB / 19.7 MB, free: 1.801 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.001671/0.001671, allocations: 209.9 kB / 22.99 MB, free: 4.602 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9698/0.9698, allocations: 149.9 MB / 463 MB, free: 10.33 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.002086/0.002086, allocations: 66.98 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1761, allocations: 89.17 MB / 0.7281 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001837/0.1779, allocations: 0.5844 MB / 0.7287 GB, free: 468 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1794, allocations: 1.12 MB / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.1794, allocations: 0 / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.1794, allocations: 3.938 kB / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.779e-05/0.1795, allocations: 7.938 kB / 0.7298 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.18, allocations: 129.3 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1801, allocations: 91.81 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.207e-05/0.1802, allocations: 11.98 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.1803, allocations: 27.98 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1804, allocations: 35.88 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1804, allocations: 8 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.047e-05/0.1805, allocations: 16 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.1805, allocations: 11.92 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.1805, allocations: 23.98 kB / 0.7302 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1807, allocations: 99.92 kB / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1807, allocations: 0 / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1807, allocations: 0 / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.1807, allocations: 0 / 0.7302 GB, free: 14.87 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.0005164/0.1813, allocations: 300 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1813, allocations: 15.91 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.1813, allocations: 30.75 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.1814, allocations: 8.891 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1815, allocations: 114.5 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.1815, allocations: 8.375 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1816, allocations: 8.359 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1817, allocations: 46.23 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1817, allocations: 3.938 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1817, allocations: 0 / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1817, allocations: 0 / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.762e-05/0.1817, allocations: 11.94 kB / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.1822, allocations: 248 kB / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.405e-05/0.1822, allocations: 26.52 kB / 0.731 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.1823, allocations: 12.92 kB / 0.731 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.1823, allocations: 4 kB / 0.731 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.1824, allocations: 67.28 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1825, allocations: 0 / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001986/0.1826, allocations: 65.67 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.1827, allocations: 63.41 kB / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.1828, allocations: 105.8 kB / 0.7313 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.1828, allocations: 29.7 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.1829, allocations: 88.09 kB / 0.7314 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.1829, allocations: 7.953 kB / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.183, allocations: 29.7 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1831, allocations: 322.8 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.1832, allocations: 61.69 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1833, allocations: 84.19 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.1835, allocations: 84.28 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.1835, allocations: 7.984 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000279/0.1837, allocations: 177 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.1838, allocations: 36.36 kB / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.1838, allocations: 7.984 kB / 0.7322 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1838, allocations: 4.062 kB / 0.7322 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.1839, allocations: 3.938 kB / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1839, allocations: 4 kB / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.184, allocations: 27.91 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.1841, allocations: 4 kB / 0.7323 GB, free: 12.54 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.896e-05/0.1842, allocations: 117.8 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.1842, allocations: 15.88 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.1842, allocations: 4 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1842, allocations: 0 / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1842, allocations: 4 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1842, allocations: 4 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.1843, allocations: 136.7 kB / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1843, allocations: 4 kB / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/0.1844, allocations: 0 / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1844, allocations: 0 / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.1844, allocations: 0 / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.1844, allocations: 4 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1844, allocations: 0 / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.1845, allocations: 89.22 kB / 0.7326 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.1845, allocations: 11.98 kB / 0.7326 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.1845, allocations: 8 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.432e-05/0.1845, allocations: 0 / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.1846, allocations: 3.984 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1846, allocations: 4 kB / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.1846, allocations: 83.28 kB / 0.7327 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1846, allocations: 0 / 0.7327 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002152/0.1848, allocations: 19.94 kB / 0.7328 GB, free: 11.96 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.0004335/0.1853, allocations: 0.628 MB / 0.7334 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.1855, allocations: 141.1 kB / 0.7335 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1855, allocations: 4 kB / 0.7335 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.1855, allocations: 11.94 kB / 0.7335 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.1857, allocations: 15.98 kB / 0.7335 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.1874, allocations: 1.51 MB / 0.735 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.062e-05/0.1874, allocations: 67.34 kB / 0.7351 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.099e-05/0.1874, allocations: 0 / 0.7351 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.1875, allocations: 19.56 kB / 0.7351 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.1875, allocations: 0 / 0.7351 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.2183, allocations: 2.639 MB / 0.7377 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.13, allocations: 7.125 kB / 0.7377 GB, free: 6.895 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.994757776614279] Failed to read output from testmodel.py, exit status != 0: 11.243208028841764 11.269649317 11.084630062 Calling exit ...