Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.001295/0.001295, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001543/0.001543, allocations: 214.3 kB / 23.78 MB, free: 4.555 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.447/1.447, allocations: 230.6 MB / 257.6 MB, free: 7.801 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.9658/0.9658, allocations: 150 MB / 463.9 MB, free: 10.25 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.BooleanToReal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",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.002004/0.002004, allocations: 66.05 kB / 0.6419 GB, free: 9.953 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1854, allocations: 89.19 MB / 0.729 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001716/0.1872, allocations: 0.5731 MB / 0.7296 GB, free: 292 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1886, allocations: 1.132 MB / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.1887, allocations: 0 / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.1887, allocations: 3.938 kB / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/0.1887, allocations: 3.938 kB / 0.7307 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.1892, allocations: 126.8 kB / 0.7308 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1894, allocations: 91.81 kB / 0.7309 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.306e-05/0.1894, allocations: 11.98 kB / 0.7309 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.591e-05/0.1895, allocations: 31.98 kB / 0.731 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.673e-05/0.1896, allocations: 35.89 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.1896, allocations: 8 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.1897, allocations: 23.92 kB / 0.731 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.1897, allocations: 11.92 kB / 0.731 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.651e-05/0.1898, allocations: 19.98 kB / 0.7311 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.1899, allocations: 92 kB / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.19, allocations: 0 / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.19, allocations: 0 / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.19, allocations: 3.938 kB / 0.7311 GB, free: 14.69 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.0004801/0.1904, allocations: 300 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1905, allocations: 12.03 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.316e-05/0.1905, allocations: 192 / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.1905, allocations: 34.75 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.1906, allocations: 8.891 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1907, allocations: 110.5 kB / 0.7316 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1907, allocations: 8.359 kB / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.1907, allocations: 4.375 kB / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.793e-05/0.1908, allocations: 49.94 kB / 0.7316 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1908, allocations: 0 / 0.7316 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.1908, allocations: 0 / 0.7316 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1908, allocations: 0 / 0.7316 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.521e-05/0.1909, allocations: 8 kB / 0.7317 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.1913, allocations: 259.9 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.19e-05/0.1913, allocations: 26.58 kB / 0.7319 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.1914, allocations: 8.922 kB / 0.7319 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.1914, allocations: 7.875 kB / 0.7319 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.1915, allocations: 71.33 kB / 0.732 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.1915, allocations: 0 / 0.732 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002066/0.1917, allocations: 73.67 kB / 0.7321 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1918, allocations: 51.41 kB / 0.7321 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.908e-05/0.1919, allocations: 113.8 kB / 0.7322 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.1919, allocations: 33.7 kB / 0.7323 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.192, allocations: 84.14 kB / 0.7324 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.192, allocations: 7.906 kB / 0.7324 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.1921, allocations: 33.7 kB / 0.7324 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1922, allocations: 322.8 kB / 0.7327 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.916e-05/0.1923, allocations: 57.69 kB / 0.7328 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1924, allocations: 80.25 kB / 0.7328 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1925, allocations: 88.2 kB / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1925, allocations: 4 kB / 0.7329 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002938/0.1928, allocations: 181 kB / 0.7331 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.1929, allocations: 33.7 kB / 0.7331 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1929, allocations: 7.922 kB / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1929, allocations: 0 / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.591e-05/0.1929, allocations: 4 kB / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.193, allocations: 0 / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.1931, allocations: 27.92 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.1932, allocations: 4.062 kB / 0.7332 GB, free: 12.36 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: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.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.0001071/0.1933, allocations: 125.8 kB / 0.7333 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.1933, allocations: 3.984 kB / 0.7333 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.1933, allocations: 8 kB / 0.7333 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1933, allocations: 4 kB / 0.7333 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1933, allocations: 0 / 0.7333 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1933, allocations: 0 / 0.7333 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.1934, allocations: 132.7 kB / 0.7334 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1934, allocations: 0 / 0.7334 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.1935, allocations: 3.938 kB / 0.7334 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1935, allocations: 64 / 0.7334 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1935, allocations: 12 kB / 0.7334 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1935, allocations: 0 / 0.7334 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1935, allocations: 4.219 kB / 0.7334 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.1936, allocations: 93 kB / 0.7335 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.1936, allocations: 4 kB / 0.7335 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.1936, allocations: 0 / 0.7335 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.397e-05/0.1936, allocations: 0 / 0.7335 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.1937, allocations: 7.984 kB / 0.7335 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1937, allocations: 0 / 0.7335 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.1937, allocations: 91.59 kB / 0.7336 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1937, allocations: 4 kB / 0.7336 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000217/0.1939, allocations: 23.92 kB / 0.7337 GB, free: 11.77 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: 3 ($whenCondition1,$whenCondition2,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.0004745/0.1944, allocations: 0.6357 MB / 0.7343 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.1947, allocations: 145 kB / 0.7344 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1947, allocations: 0 / 0.7344 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.524e-05/0.1947, allocations: 12 kB / 0.7344 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.1949, allocations: 7.984 kB / 0.7344 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.1966, allocations: 1.515 MB / 0.7359 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.389e-05/0.1967, allocations: 71.28 kB / 0.736 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.223e-05/0.1967, allocations: 4 kB / 0.736 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.1967, allocations: 11.44 kB / 0.736 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1967, allocations: 0 / 0.736 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.2193, allocations: 2.274 MB / 0.7382 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.71, allocations: 4.062 kB / 0.7382 GB, free: 7.082 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.492800796055235] Failed to read output from testmodel.py, exit status != 0: 11.879420247976668 11.914889131 11.718987418 Calling exit ...