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.00129/0.00129, allocations: 107.2 kB / 17.07 MB, free: 6.016 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.001335/0.001335, allocations: 190.8 kB / 20.03 MB, free: 3.082 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.503/1.503, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.143/1.143, allocations: 147.6 MB / 445.6 MB, free: 8.199 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.3358/0.3358, allocations: 63.11 kB / 0.6109 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.4917, allocations: 83.15 MB / 0.6921 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002107/0.4938, allocations: 0.6045 MB / 0.6927 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.4953, allocations: 0.8184 MB / 0.6935 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.4953, allocations: 1.156 kB / 0.6935 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.4954, allocations: 3.938 kB / 0.6935 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.891e-05/0.4955, allocations: 0 / 0.6935 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.4957, allocations: 23.69 kB / 0.6935 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.292e-05/0.4958, allocations: 22.61 kB / 0.6935 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.4959, allocations: 7.656 kB / 0.6935 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.212e-05/0.496, allocations: 19.64 kB / 0.6935 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.358e-05/0.4961, allocations: 7.906 kB / 0.6936 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.4961, allocations: 7.375 kB / 0.6936 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.4961, allocations: 1.312 kB / 0.6936 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.4962, allocations: 13.31 kB / 0.6936 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.4962, allocations: 10.75 kB / 0.6936 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.4963, allocations: 19.73 kB / 0.6936 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4963, allocations: 1.281 kB / 0.6936 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4963, allocations: 4 kB / 0.6936 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4963, allocations: 0 / 0.6936 GB, free: 12.18 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.0005831/0.4969, allocations: 332.5 kB / 0.6939 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.497, allocations: 8.906 kB / 0.6939 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.4971, allocations: 31.81 kB / 0.694 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.4971, allocations: 13.97 kB / 0.694 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.4973, allocations: 165.5 kB / 0.6941 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.4973, allocations: 5.375 kB / 0.6941 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.4973, allocations: 1.531 kB / 0.6941 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.4976, allocations: 62.5 kB / 0.6942 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4976, allocations: 3.938 kB / 0.6942 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4976, allocations: 5.219 kB / 0.6942 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4976, allocations: 0 / 0.6942 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.4978, allocations: 39.33 kB / 0.6942 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.4982, allocations: 250.2 kB / 0.6945 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.4984, allocations: 44.66 kB / 0.6945 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4985, allocations: 23.09 kB / 0.6946 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.4985, allocations: 3.938 kB / 0.6946 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.4986, allocations: 31.66 kB / 0.6946 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.4986, allocations: 1.312 kB / 0.6946 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004161/0.499, allocations: 93.8 kB / 0.6947 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.4991, allocations: 51.41 kB / 0.6947 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.4992, allocations: 99.45 kB / 0.6948 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4992, allocations: 25.7 kB / 0.6948 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.4993, allocations: 85.44 kB / 0.6949 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.4993, allocations: 9.703 kB / 0.6949 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.4993, allocations: 16.78 kB / 0.695 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4995, allocations: 310.8 kB / 0.6952 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.4996, allocations: 26.22 kB / 0.6953 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.873e-05/0.4997, allocations: 17.7 kB / 0.6953 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.4999, allocations: 40.2 kB / 0.6953 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.4999, allocations: 9.828 kB / 0.6953 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002136/0.5001, allocations: 60.27 kB / 0.6954 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5001, allocations: 9.984 kB / 0.6954 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5001, allocations: 0 / 0.6954 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.5002, allocations: 0 / 0.6954 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.5003, allocations: 7.469 kB / 0.6954 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.5003, allocations: 3.984 kB / 0.6954 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.5003, allocations: 6.969 kB / 0.6954 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.5004, allocations: 1.406 kB / 0.6954 GB, free: 10.3 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 9.213e-05/0.5005, allocations: 121.5 kB / 0.6955 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.5005, allocations: 5.422 kB / 0.6955 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.844e-05/0.5005, allocations: 3.125 kB / 0.6955 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5005, allocations: 4.938 kB / 0.6956 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5005, allocations: 0 / 0.6956 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5005, allocations: 1.719 kB / 0.6956 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.5007, allocations: 162 kB / 0.6957 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5007, allocations: 4 kB / 0.6957 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.5008, allocations: 9.734 kB / 0.6957 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5008, allocations: 1.531 kB / 0.6957 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.5008, allocations: 0 / 0.6957 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.5009, allocations: 3.984 kB / 0.6957 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5009, allocations: 1.562 kB / 0.6957 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.5012, allocations: 172 kB / 0.6959 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.5012, allocations: 86.64 kB / 0.696 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.5012, allocations: 3.938 kB / 0.696 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.578e-05/0.5013, allocations: 7.172 kB / 0.696 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.5014, allocations: 6.906 kB / 0.696 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.5014, allocations: 1.438 kB / 0.696 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.5015, allocations: 86.11 kB / 0.6961 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.5015, allocations: 0 / 0.6961 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002184/0.5017, allocations: 8.688 kB / 0.6961 GB, free: 9.598 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.000629/0.5023, allocations: 0.6912 MB / 0.6968 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.5026, allocations: 49.45 kB / 0.6968 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5026, allocations: 0 / 0.6968 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.913e-05/0.5027, allocations: 22.34 kB / 0.6968 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.503, allocations: 5.781 kB / 0.6968 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.5035, allocations: 129.2 kB / 0.697 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.5039, allocations: 0.6767 MB / 0.6976 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.512e-05/0.5039, allocations: 6.562 kB / 0.6976 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.504, allocations: 13.81 kB / 0.6976 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.504, allocations: 0 / 0.6976 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.5265, allocations: 1.434 MB / 0.699 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.432, allocations: 5.25 kB / 0.699 GB, free: 7.215 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 12.038100088015199] Failed to read output from testmodel.py, exit status != 0: 8.500833467114717 8.530188924 8.028112601 Calling exit ...