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.002018/0.002018, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.002324/0.002324, allocations: 216.7 kB / 23.78 MB, free: 4.523 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.576/1.576, allocations: 230.6 MB / 257.5 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 1.009/1.009, allocations: 150 MB / 464 MB, free: 10.22 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.002814/0.002814, allocations: 70.08 kB / 0.6419 GB, free: 9.918 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1709, allocations: 89.16 MB / 0.729 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001894/0.1728, allocations: 0.5912 MB / 0.7296 GB, free: 244 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1744, allocations: 1.12 MB / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.1744, allocations: 4 kB / 0.7307 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.1745, allocations: 3.938 kB / 0.7307 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.393e-05/0.1745, allocations: 7.922 kB / 0.7307 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.175, allocations: 129.3 kB / 0.7308 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1752, allocations: 91.88 kB / 0.7309 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.525e-05/0.1753, allocations: 4 kB / 0.7309 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.745e-05/0.1753, allocations: 35.92 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.137e-05/0.1754, allocations: 35.89 kB / 0.731 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.1755, allocations: 11.98 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.445e-05/0.1755, allocations: 19.98 kB / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.1756, allocations: 4 kB / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.83e-05/0.1756, allocations: 27.92 kB / 0.731 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1758, allocations: 87.94 kB / 0.7311 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1758, allocations: 0 / 0.7311 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1758, allocations: 0 / 0.7311 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1758, allocations: 8 kB / 0.7311 GB, free: 14.65 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.0004387/0.1762, allocations: 300 kB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1763, allocations: 8.031 kB / 0.7314 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.735e-05/0.1763, allocations: 192 / 0.7314 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.635e-05/0.1763, allocations: 30.75 kB / 0.7315 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.1763, allocations: 12.89 kB / 0.7315 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.775e-05/0.1764, allocations: 110.5 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1765, allocations: 4.375 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1765, allocations: 4.375 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.42e-05/0.1766, allocations: 42 kB / 0.7316 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1766, allocations: 4 kB / 0.7316 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.1766, allocations: 4 kB / 0.7316 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1766, allocations: 0 / 0.7316 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.385e-05/0.1766, allocations: 15.92 kB / 0.7317 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.177, allocations: 259.9 kB / 0.7319 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.736e-05/0.1771, allocations: 30.52 kB / 0.7319 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.1771, allocations: 4.922 kB / 0.7319 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.1771, allocations: 4 kB / 0.7319 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.1773, allocations: 75.28 kB / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1773, allocations: 0 / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002035/0.1775, allocations: 69.67 kB / 0.7321 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.1776, allocations: 55.41 kB / 0.7321 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.796e-05/0.1777, allocations: 109.8 kB / 0.7322 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.1777, allocations: 33.64 kB / 0.7323 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.1777, allocations: 84.09 kB / 0.7323 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.1778, allocations: 11.95 kB / 0.7324 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.1778, allocations: 29.7 kB / 0.7324 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.178, allocations: 318.8 kB / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.1781, allocations: 65.62 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1782, allocations: 84.25 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.1783, allocations: 84.27 kB / 0.7329 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1783, allocations: 0 / 0.7329 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002923/0.1786, allocations: 181 kB / 0.7331 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.1787, allocations: 36.03 kB / 0.7331 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1787, allocations: 4 kB / 0.7331 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1787, allocations: 0 / 0.7331 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.993e-05/0.1787, allocations: 3.938 kB / 0.7331 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1787, allocations: 4 kB / 0.7331 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.1789, allocations: 32.03 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.1789, allocations: 4 kB / 0.7332 GB, free: 12.32 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.652e-05/0.179, allocations: 117.8 kB / 0.7333 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.1791, allocations: 7.953 kB / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.1791, allocations: 8 kB / 0.7333 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1791, allocations: 0 / 0.7333 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1791, allocations: 0 / 0.7333 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1791, allocations: 4 kB / 0.7333 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1792, allocations: 128.7 kB / 0.7334 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1792, allocations: 4 kB / 0.7334 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/0.1792, allocations: 4 kB / 0.7334 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1792, allocations: 0 / 0.7334 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1792, allocations: 8.047 kB / 0.7334 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1793, allocations: 4 kB / 0.7334 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1793, allocations: 0 / 0.7334 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.1794, allocations: 92.94 kB / 0.7335 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.1794, allocations: 7.953 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1794, allocations: 0 / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.46e-05/0.1794, allocations: 0 / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.1794, allocations: 3.984 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.1795, allocations: 11.94 kB / 0.7336 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.016e-05/0.1795, allocations: 87.27 kB / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1795, allocations: 0 / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002193/0.1797, allocations: 19.94 kB / 0.7337 GB, free: 11.74 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.0004721/0.1802, allocations: 0.6356 MB / 0.7343 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.1804, allocations: 141.1 kB / 0.7344 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1804, allocations: 4 kB / 0.7344 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.1805, allocations: 19.92 kB / 0.7344 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.1807, allocations: 8.125 kB / 0.7344 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.1824, allocations: 1.509 MB / 0.7359 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.671e-05/0.1825, allocations: 67.34 kB / 0.736 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.261e-05/0.1825, allocations: 4 kB / 0.736 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.1825, allocations: 7.438 kB / 0.736 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.1825, allocations: 0 / 0.736 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.2055, allocations: 2.27 MB / 0.7382 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.39, allocations: 19.45 kB / 0.7382 GB, free: 7.051 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.46975046605803] Failed to read output from testmodel.py, exit status != 0: 11.556143679074012 11.572532649 11.393344536 Calling exit ...