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.001489/0.001489, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001574/0.001574, allocations: 213.1 kB / 22.99 MB, free: 4.977 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.816 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.954/0.954, allocations: 149.9 MB / 463 MB, free: 10.36 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.002098/0.002098, allocations: 69.59 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1754, allocations: 89.17 MB / 0.7281 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002144/0.1776, allocations: 0.5797 MB / 0.7287 GB, free: 488 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1792, allocations: 1.132 MB / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.1792, allocations: 0 / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.1793, allocations: 7.875 kB / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.015e-05/0.1793, allocations: 11.91 kB / 0.7298 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.1799, allocations: 127.4 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.18, allocations: 87.83 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.1801, allocations: 8 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.1802, allocations: 35.91 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.46e-05/0.1803, allocations: 31.95 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.1803, allocations: 11.94 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.19e-05/0.1804, allocations: 15.98 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.1804, allocations: 8 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.1805, allocations: 27.91 kB / 0.7302 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1807, allocations: 88 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1807, allocations: 4 kB / 0.7303 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1807, allocations: 0 / 0.7303 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.1807, allocations: 0 / 0.7303 GB, free: 14.88 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.000454/0.1811, allocations: 300 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1812, allocations: 8.031 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.023e-05/0.1812, allocations: 38.69 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.1812, allocations: 8.891 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1813, allocations: 114.5 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1813, allocations: 4.375 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.1814, allocations: 4.375 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.954e-05/0.1815, allocations: 38.25 kB / 0.7307 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1815, allocations: 3.938 kB / 0.7307 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1815, allocations: 7.984 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1815, allocations: 0 / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.629e-05/0.1815, allocations: 8 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.1819, allocations: 252 kB / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.897e-05/0.182, allocations: 30.52 kB / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.182, allocations: 8.859 kB / 0.731 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.182, allocations: 4.062 kB / 0.731 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.1822, allocations: 63.34 kB / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.1822, allocations: 0 / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002098/0.1824, allocations: 69.61 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.1825, allocations: 59.41 kB / 0.7312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.1826, allocations: 109.8 kB / 0.7313 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.1826, allocations: 25.7 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.1827, allocations: 96.09 kB / 0.7314 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.1827, allocations: 7.953 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.1828, allocations: 33.64 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1829, allocations: 318.8 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.183, allocations: 61.69 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1831, allocations: 92.17 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1833, allocations: 88.14 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1833, allocations: 0 / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003037/0.1836, allocations: 181 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.1836, allocations: 43.72 kB / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1836, allocations: 0 / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1836, allocations: 4 kB / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.037e-05/0.1837, allocations: 0 / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.1837, allocations: 7.938 kB / 0.7322 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.1839, allocations: 23.97 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1839, allocations: 4 kB / 0.7323 GB, free: 12.55 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 0.0001194/0.184, allocations: 125.8 kB / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.184, allocations: 7.953 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.1841, allocations: 4 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1841, allocations: 0 / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1841, allocations: 0 / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1841, allocations: 0 / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.1842, allocations: 136.7 kB / 0.7325 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1842, allocations: 0 / 0.7325 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.1842, allocations: 4 kB / 0.7325 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1842, allocations: 0 / 0.7325 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.1842, allocations: 3.984 kB / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1842, allocations: 4 kB / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1842, allocations: 0 / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.1844, allocations: 89 kB / 0.7326 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-06/0.1844, allocations: 3.953 kB / 0.7326 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.1844, allocations: 8.062 kB / 0.7326 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.794e-05/0.1844, allocations: 4 kB / 0.7326 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.1845, allocations: 4.266 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.1845, allocations: 4 kB / 0.7327 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.1845, allocations: 83.66 kB / 0.7327 GB, free: 12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1845, allocations: 0 / 0.7327 GB, free: 12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000217/0.1847, allocations: 27.92 kB / 0.7328 GB, free: 11.97 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.000462/0.1852, allocations: 0.6319 MB / 0.7334 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.1854, allocations: 141 kB / 0.7335 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1854, allocations: 0 / 0.7335 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.1855, allocations: 15.92 kB / 0.7335 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.1857, allocations: 18.34 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.001684/0.1874, allocations: 1.511 MB / 0.735 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.758e-05/0.1874, allocations: 71.47 kB / 0.7351 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.1874, allocations: 0 / 0.7351 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.1875, allocations: 15.44 kB / 0.7351 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.1875, allocations: 0 / 0.7351 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.2166, allocations: 2.625 MB / 0.7377 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.15, allocations: 6.719 kB / 0.7377 GB, free: 6.91 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.844662949908525] Failed to read output from testmodel.py, exit status != 0: 11.267036672215909 11.284320369 11.100311538 Calling exit ...