Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001259/0.001259, allocations: 108.8 kB / 17.07 MB, free: 6 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.001361/0.001361, allocations: 191.8 kB / 20.02 MB, free: 3.07 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.43/1.43, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.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 1.061/1.061, allocations: 147.6 MB / 445.5 MB, free: 8.316 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.RealToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.3379/0.3379, allocations: 61.89 kB / 0.6109 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.4833, allocations: 83.15 MB / 0.6921 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001795/0.4851, allocations: 0.6013 MB / 0.6927 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.4862, allocations: 0.8233 MB / 0.6935 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.4862, allocations: 0 / 0.6935 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.4862, allocations: 5.719 kB / 0.6935 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.4863, allocations: 0 / 0.6935 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.4865, allocations: 19.52 kB / 0.6935 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.971e-05/0.4865, allocations: 22.73 kB / 0.6935 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.4866, allocations: 11.5 kB / 0.6935 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.336e-05/0.4867, allocations: 11.48 kB / 0.6935 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.031e-05/0.4868, allocations: 23.5 kB / 0.6936 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.4868, allocations: 3.625 kB / 0.6936 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/0.4868, allocations: 1.781 kB / 0.6936 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.4868, allocations: 4 kB / 0.6936 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.4869, allocations: 12.12 kB / 0.6936 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.505e-05/0.487, allocations: 23.88 kB / 0.6936 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.487, allocations: 0 / 0.6936 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.487, allocations: 0 / 0.6936 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.487, allocations: 0 / 0.6936 GB, free: 12.2 MB / 0.5137 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.0005097/0.4875, allocations: 335.7 kB / 0.6939 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4875, allocations: 11.59 kB / 0.6939 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.248e-05/0.4876, allocations: 30.75 kB / 0.694 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.4876, allocations: 8.828 kB / 0.694 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.4878, allocations: 171 kB / 0.6941 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.4878, allocations: 384 / 0.6941 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.4878, allocations: 6.125 kB / 0.6941 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.488, allocations: 55.98 kB / 0.6942 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.488, allocations: 3.938 kB / 0.6942 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.488, allocations: 4 kB / 0.6942 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.488, allocations: 8 kB / 0.6942 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.4882, allocations: 39.19 kB / 0.6942 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.4886, allocations: 245.2 kB / 0.6945 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.4888, allocations: 40.69 kB / 0.6945 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.854e-05/0.4889, allocations: 35.58 kB / 0.6946 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.4889, allocations: 0 / 0.6946 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.4889, allocations: 31.91 kB / 0.6946 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4889, allocations: 0 / 0.6946 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003837/0.4893, allocations: 85.91 kB / 0.6947 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.4894, allocations: 56.59 kB / 0.6947 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.4895, allocations: 103.1 kB / 0.6948 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.4895, allocations: 25.7 kB / 0.6948 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.4896, allocations: 85.39 kB / 0.6949 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.4896, allocations: 5.109 kB / 0.6949 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.4896, allocations: 12.16 kB / 0.6949 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4898, allocations: 316 kB / 0.6952 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.767e-05/0.4899, allocations: 26.05 kB / 0.6953 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.964e-05/0.49, allocations: 17.83 kB / 0.6953 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.4901, allocations: 40.41 kB / 0.6953 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4901, allocations: 3.938 kB / 0.6953 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002118/0.4904, allocations: 70.5 kB / 0.6954 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4904, allocations: 6.906 kB / 0.6954 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.4904, allocations: 0 / 0.6954 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4904, allocations: 1.375 kB / 0.6954 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/0.4905, allocations: 9.516 kB / 0.6954 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.4905, allocations: 0 / 0.6954 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.4906, allocations: 4.375 kB / 0.6954 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.4906, allocations: 13.2 kB / 0.6954 GB, free: 10.32 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001031/0.4907, allocations: 115.1 kB / 0.6955 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.4907, allocations: 5.188 kB / 0.6955 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.658e-05/0.4908, allocations: 4.375 kB / 0.6955 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.4908, allocations: 0 / 0.6955 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4908, allocations: 1.312 kB / 0.6955 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4908, allocations: 0 / 0.6955 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.491, allocations: 166.4 kB / 0.6957 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.491, allocations: 0 / 0.6957 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.491, allocations: 10.3 kB / 0.6957 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4911, allocations: 0.875 kB / 0.6957 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.4911, allocations: 3.938 kB / 0.6957 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4911, allocations: 5.25 kB / 0.6957 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.4911, allocations: 0 / 0.6957 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.4914, allocations: 164.1 kB / 0.6959 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.4914, allocations: 82.16 kB / 0.696 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.4914, allocations: 1.062 kB / 0.696 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.4915, allocations: 15.23 kB / 0.696 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.4916, allocations: 6.281 kB / 0.696 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.4916, allocations: 5.172 kB / 0.696 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.466e-05/0.4916, allocations: 82.5 kB / 0.6961 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4916, allocations: 1.156 kB / 0.6961 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002091/0.4919, allocations: 3.438 kB / 0.6961 GB, free: 9.625 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005933/0.4925, allocations: 0.6971 MB / 0.6968 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.4927, allocations: 46.86 kB / 0.6968 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4927, allocations: 0 / 0.6968 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.4928, allocations: 25.62 kB / 0.6968 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.4931, allocations: 7.922 kB / 0.6968 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.4935, allocations: 130 kB / 0.697 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.4939, allocations: 0.6758 MB / 0.6976 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.4939, allocations: 3.656 kB / 0.6976 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.4939, allocations: 17.11 kB / 0.6976 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.494, allocations: 4.062 kB / 0.6976 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.5169, allocations: 1.437 MB / 0.699 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.258, allocations: 3.094 kB / 0.699 GB, free: 7.23 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.882468074094504] Failed to read output from testmodel.py, exit status != 0: 8.328113802010193 8.354679663 7.863087309 Calling exit ...