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.001699/0.001699, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.002026/0.002026, allocations: 223.3 kB / 23.01 MB, free: 5.074 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9437/0.9437, allocations: 150 MB / 463.2 MB, free: 10.46 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.002055/0.002055, allocations: 66.17 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.183, allocations: 89.16 MB / 0.7283 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001801/0.1848, allocations: 0.5953 MB / 0.7289 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1864, allocations: 1.147 MB / 0.73 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.1864, allocations: 0 / 0.73 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.1865, allocations: 3.938 kB / 0.73 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.1865, allocations: 11.94 kB / 0.73 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.1871, allocations: 124.9 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1872, allocations: 91.88 kB / 0.7302 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.752e-05/0.1873, allocations: 0 / 0.7302 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.679e-05/0.1874, allocations: 39.91 kB / 0.7303 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1875, allocations: 39.89 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.1875, allocations: 4 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.1876, allocations: 27.86 kB / 0.7304 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.1876, allocations: 8 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.1877, allocations: 35.91 kB / 0.7304 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.1879, allocations: 80.02 kB / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1879, allocations: 0 / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1879, allocations: 0 / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1879, 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.000498/0.1884, allocations: 307.9 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1884, allocations: 12.03 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.1884, allocations: 34.75 kB / 0.7308 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.1885, allocations: 8.891 kB / 0.7308 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1886, allocations: 114.5 kB / 0.7309 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1886, allocations: 4.375 kB / 0.7309 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.1886, allocations: 4.375 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.653e-05/0.1887, allocations: 42.25 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1888, allocations: 7.875 kB / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1888, allocations: 0 / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1888, allocations: 0 / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/0.1888, allocations: 19.97 kB / 0.731 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.1892, allocations: 256 kB / 0.7312 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.389e-05/0.1893, allocations: 38.5 kB / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.1893, allocations: 8.922 kB / 0.7313 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.1893, allocations: 0 / 0.7313 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.1895, allocations: 67.28 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1895, allocations: 0 / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002101/0.1897, allocations: 65.69 kB / 0.7314 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.1898, allocations: 63.41 kB / 0.7315 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1899, allocations: 105.8 kB / 0.7316 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.1899, allocations: 33.64 kB / 0.7316 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.19, allocations: 92.08 kB / 0.7317 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.19, allocations: 3.953 kB / 0.7317 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.219e-05/0.1901, allocations: 37.7 kB / 0.7317 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1902, allocations: 310.8 kB / 0.732 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/0.1903, allocations: 31.98 kB / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-05/0.1904, allocations: 50.55 kB / 0.7321 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.1905, allocations: 92.14 kB / 0.7322 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1905, allocations: 0 / 0.7322 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002635/0.1908, allocations: 151.3 kB / 0.7323 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.1908, allocations: 33.7 kB / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1909, allocations: 4.062 kB / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1909, allocations: 0 / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.1909, allocations: 7.938 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1909, allocations: 7.922 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.1911, allocations: 23.97 kB / 0.7324 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.1911, allocations: 8 kB / 0.7324 GB, free: 12.8 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.97e-05/0.1912, allocations: 119.8 kB / 0.7325 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.1913, allocations: 7.953 kB / 0.7325 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.1913, allocations: 11.98 kB / 0.7326 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1913, allocations: 4 kB / 0.7326 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1913, allocations: 0 / 0.7326 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1913, allocations: 0 / 0.7326 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.1914, allocations: 136.7 kB / 0.7327 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1914, allocations: 0 / 0.7327 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.79e-05/0.1915, allocations: 3.984 kB / 0.7327 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1915, allocations: 0 / 0.7327 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1915, allocations: 16 kB / 0.7327 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1915, allocations: 0 / 0.7327 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1915, allocations: 4 kB / 0.7327 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.1916, allocations: 81.06 kB / 0.7328 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.1916, allocations: 7.953 kB / 0.7328 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1916, allocations: 3.984 kB / 0.7328 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.315e-05/0.1917, allocations: 0 / 0.7328 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.1917, allocations: 0 / 0.7328 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.1917, allocations: 8 kB / 0.7328 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.63e-05/0.1917, allocations: 87.27 kB / 0.7329 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1917, allocations: 0 / 0.7329 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002114/0.192, allocations: 23.94 kB / 0.7329 GB, free: 12.22 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.0004898/0.1924, allocations: 0.6204 MB / 0.7335 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.1927, allocations: 119.4 kB / 0.7336 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1927, allocations: 8.062 kB / 0.7336 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.354e-05/0.1927, allocations: 8 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.0002059/0.1929, allocations: 11.98 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.001694/0.1946, allocations: 1.388 MB / 0.735 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.195, allocations: 0.6807 MB / 0.7357 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.195, allocations: 7.984 kB / 0.7357 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.195, allocations: 15.44 kB / 0.7357 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.195, allocations: 0 / 0.7357 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.2258, allocations: 2.127 MB / 0.7378 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.75, allocations: 9.281 kB / 0.7378 GB, free: 7.223 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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.411214143037796] Failed to read output from testmodel.py, exit status != 0: 10.851850715931505 10.877479818 10.684878046 Calling exit ...