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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 114.6 kB / 19.59 MB, free: 2.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 195.7 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 251.5 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9809/0.9809, allocations: 149.6 MB / 456.3 MB, free: 1.285 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 70.58 kB / 0.6319 GB, free: 9.688 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1768, allocations: 87.87 MB / 0.7177 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002211/0.179, allocations: 0.5971 MB / 0.7183 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.181, allocations: 1.12 MB / 0.7194 GB, free: 8 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.1811, allocations: 0 / 0.7194 GB, free: 8 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.1811, allocations: 3.938 kB / 0.7194 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.1812, allocations: 7.969 kB / 0.7194 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008475/0.1821, allocations: 121.3 kB / 0.7195 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.1823, allocations: 95.81 kB / 0.7196 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1824, allocations: 12 kB / 0.7196 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1826, allocations: 31.97 kB / 0.7197 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1827, allocations: 35.89 kB / 0.7197 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.1828, allocations: 11.94 kB / 0.7197 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1829, allocations: 19.94 kB / 0.7197 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.1829, allocations: 15.91 kB / 0.7197 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.766e-05/0.183, allocations: 31.92 kB / 0.7198 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.1832, allocations: 83.78 kB / 0.7198 GB, free: 15.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1832, allocations: 0 / 0.7198 GB, free: 15.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.424e-06/0.1832, allocations: 0 / 0.7198 GB, free: 15.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1832, allocations: 0 / 0.7198 GB, free: 15.55 MB / 0.545 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.0005728/0.1838, allocations: 303.9 kB / 0.7201 GB, free: 15.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1838, allocations: 8.625 kB / 0.7201 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.1839, allocations: 30.75 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.1839, allocations: 4.938 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.184, allocations: 114.5 kB / 0.7203 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.1841, allocations: 12.36 kB / 0.7203 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1841, allocations: 4.375 kB / 0.7203 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.1842, allocations: 38.25 kB / 0.7203 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1842, allocations: 7.875 kB / 0.7203 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1842, allocations: 4 kB / 0.7203 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1842, allocations: 0 / 0.7203 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.269e-05/0.1843, allocations: 4 kB / 0.7204 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.1847, allocations: 264 kB / 0.7206 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.531e-05/0.1848, allocations: 30.52 kB / 0.7206 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.1848, allocations: 8.922 kB / 0.7206 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.1848, allocations: 0 / 0.7206 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.185, allocations: 63.33 kB / 0.7207 GB, free: 14.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 4.158e-06/0.185, allocations: 3.938 kB / 0.7207 GB, free: 14.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002678/0.1853, allocations: 73.64 kB / 0.7208 GB, free: 14.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.1853, allocations: 59.39 kB / 0.7208 GB, free: 14.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.1854, allocations: 105.8 kB / 0.7209 GB, free: 14.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.1855, allocations: 33.64 kB / 0.721 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.1855, allocations: 92.12 kB / 0.7211 GB, free: 14.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.1855, allocations: 3.953 kB / 0.7211 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-05/0.1856, allocations: 37.64 kB / 0.7211 GB, free: 14.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1858, allocations: 314.8 kB / 0.7214 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.1859, allocations: 31.98 kB / 0.7214 GB, free: 13.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.562e-05/0.186, allocations: 50.56 kB / 0.7215 GB, free: 13.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.1861, allocations: 92.14 kB / 0.7216 GB, free: 13.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1861, allocations: 0 / 0.7216 GB, free: 13.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003043/0.1864, allocations: 151.2 kB / 0.7217 GB, free: 13.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.467e-05/0.1865, allocations: 37.69 kB / 0.7217 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1865, allocations: 4.062 kB / 0.7217 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1865, allocations: 4 kB / 0.7217 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.1866, allocations: 3.938 kB / 0.7218 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1866, allocations: 4 kB / 0.7218 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.1868, allocations: 27.91 kB / 0.7218 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.1868, allocations: 8 kB / 0.7218 GB, free: 13.32 MB / 0.545 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.0001221/0.1869, allocations: 117.8 kB / 0.7219 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.187, allocations: 8.062 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.187, allocations: 12 kB / 0.7219 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.187, allocations: 0 / 0.7219 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.187, allocations: 0 / 0.7219 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.187, allocations: 0 / 0.7219 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.1871, allocations: 140.6 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1871, allocations: 0 / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.1872, allocations: 4 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1872, allocations: 0 / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1872, allocations: 7.938 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1872, allocations: 0 / 0.7221 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1872, allocations: 4 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.1874, allocations: 89.05 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.1874, allocations: 3.953 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.1874, allocations: 0 / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.718e-05/0.1874, allocations: 4 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.1874, allocations: 0 / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1874, allocations: 7.984 kB / 0.7222 GB, free: 12.85 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.812e-05/0.1875, allocations: 87.28 kB / 0.7223 GB, free: 12.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1875, allocations: 0 / 0.7223 GB, free: 12.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002162/0.1877, allocations: 20 kB / 0.7223 GB, free: 12.74 MB / 0.545 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.0004536/0.1882, allocations: 0.6201 MB / 0.7229 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.1884, allocations: 115.3 kB / 0.723 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1884, allocations: 4.125 kB / 0.723 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.302e-05/0.1884, allocations: 11.98 kB / 0.723 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.1886, allocations: 12 kB / 0.723 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.1903, allocations: 1.394 MB / 0.7244 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1906, allocations: 0.6807 MB / 0.725 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.618e-05/0.1906, allocations: 4 kB / 0.725 GB, free: 9.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.1906, allocations: 11.44 kB / 0.7251 GB, free: 9.723 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.1906, allocations: 4 kB / 0.7251 GB, free: 9.719 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.2148, allocations: 2.025 MB / 0.727 GB, free: 7.797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/7.928, allocations: 5.781 kB / 0.727 GB, free: 7.793 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.68134931800887] Failed to read output from testmodel.py, exit status != 0: 7.999375933010015 8.016436355 7.829758279 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff8ec4617b0>