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.00133/0.00133, allocations: 105 kB / 20.48 MB, free: 1.488 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.001416/0.001416, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.48/1.48, allocations: 230.6 MB / 257.6 MB, free: 8 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.9772/0.9772, allocations: 150 MB / 464 MB, free: 10.48 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",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.002034/0.002034, allocations: 66.08 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1725, allocations: 89.17 MB / 0.7291 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00179/0.1743, allocations: 0.5816 MB / 0.7297 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1758, allocations: 1.155 MB / 0.7308 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.1758, allocations: 4 kB / 0.7308 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.1758, allocations: 4 kB / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.877e-05/0.1759, allocations: 7.922 kB / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.1763, allocations: 118.1 kB / 0.7309 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1765, allocations: 99.8 kB / 0.731 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.202e-05/0.1766, allocations: 0 / 0.731 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.1767, allocations: 43.91 kB / 0.7311 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1768, allocations: 31.89 kB / 0.7311 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1768, allocations: 8 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-05/0.1768, allocations: 23.98 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.1769, allocations: 11.98 kB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.1769, allocations: 23.92 kB / 0.7312 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.1771, allocations: 88 kB / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.622e-05/0.1771, allocations: 0 / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1771, allocations: 0 / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.1771, allocations: 4 kB / 0.7312 GB, free: 15.12 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.0004113/0.1775, allocations: 303.9 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1775, allocations: 8.031 kB / 0.7315 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.353e-05/0.1775, allocations: 4.188 kB / 0.7315 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.527e-05/0.1776, allocations: 30.75 kB / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.1776, allocations: 8.891 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1777, allocations: 122.4 kB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1777, allocations: 4.375 kB / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1778, allocations: 4.375 kB / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.458e-05/0.1778, allocations: 42 kB / 0.7317 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.1779, allocations: 0 / 0.7317 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.1779, allocations: 4 kB / 0.7317 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1779, allocations: 0 / 0.7317 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.275e-05/0.1779, allocations: 8 kB / 0.7318 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.1783, allocations: 271.8 kB / 0.732 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.953e-05/0.1783, allocations: 22.58 kB / 0.732 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.1784, allocations: 8.922 kB / 0.732 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.1784, allocations: 0 / 0.732 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.1785, allocations: 71.34 kB / 0.7321 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1785, allocations: 0 / 0.7321 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001906/0.1787, allocations: 77.61 kB / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.1787, allocations: 51.41 kB / 0.7322 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.1788, allocations: 105.8 kB / 0.7323 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.1789, allocations: 29.7 kB / 0.7324 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.1789, allocations: 96.08 kB / 0.7325 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.1789, allocations: 3.953 kB / 0.7325 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.179, allocations: 37.64 kB / 0.7325 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1791, allocations: 322.8 kB / 0.7328 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.843e-05/0.1792, allocations: 27.98 kB / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.08e-05/0.1793, allocations: 50.56 kB / 0.7329 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1794, allocations: 88.27 kB / 0.733 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1794, allocations: 8 kB / 0.733 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002701/0.1797, allocations: 147.3 kB / 0.7331 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.1797, allocations: 39.56 kB / 0.7331 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1797, allocations: 0 / 0.7331 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1798, allocations: 4 kB / 0.7332 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.292e-05/0.1798, allocations: 3.938 kB / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1798, allocations: 4 kB / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.18, allocations: 23.97 kB / 0.7332 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.18, allocations: 16.05 kB / 0.7332 GB, free: 12.88 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.622e-05/0.1801, allocations: 117.7 kB / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.1801, allocations: 7.953 kB / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.1802, allocations: 8 kB / 0.7333 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1802, allocations: 0 / 0.7333 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1802, allocations: 0 / 0.7333 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1802, allocations: 0 / 0.7333 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.1803, allocations: 136.7 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1803, allocations: 240 / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.1803, allocations: 8 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.1803, allocations: 0 / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.1803, allocations: 0 / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1803, allocations: 0 / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1803, allocations: 3.984 kB / 0.7335 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.1804, allocations: 96.98 kB / 0.7336 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.1804, allocations: 3.953 kB / 0.7336 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.1805, allocations: 0 / 0.7336 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.655e-05/0.1805, allocations: 4 kB / 0.7336 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.1805, allocations: 7.984 kB / 0.7336 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.1805, allocations: 0 / 0.7336 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.16e-05/0.1806, allocations: 87.67 kB / 0.7337 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1806, allocations: 0 / 0.7337 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002239/0.1808, allocations: 15.94 kB / 0.7337 GB, free: 12.31 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.0004251/0.1812, allocations: 0.636 MB / 0.7343 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.1814, allocations: 115.3 kB / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1814, allocations: 0 / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.959e-05/0.1815, allocations: 8 kB / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.1817, allocations: 22.03 kB / 0.7344 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1832, allocations: 1.399 MB / 0.7358 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1835, allocations: 0.6768 MB / 0.7365 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.262e-05/0.1835, allocations: 4 kB / 0.7365 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.1835, allocations: 15.42 kB / 0.7365 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.1835, allocations: 4 kB / 0.7365 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.2051, allocations: 2.157 MB / 0.7386 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.35, allocations: 0 / 0.7386 GB, free: 7.285 MB / 0.5606 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 15.10597155400319] Failed to read output from testmodel.py, exit status != 0: 11.505881074001081 11.521060217 11.341028461 Calling exit ...