Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.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.001491/0.001491, allocations: 108.7 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.001387/0.001387, 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.518/1.518, 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.099/1.099, allocations: 147.6 MB / 445.5 MB, free: 8.367 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.Integers.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.88 kB / 0.6109 GB, free: 8 kB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4967/0.4987, allocations: 83.14 MB / 0.6921 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.002514/0.5013, allocations: 0.7621 MB / 0.6928 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.5026, allocations: 0.8717 MB / 0.6937 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.5026, allocations: 1.062 kB / 0.6937 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.5027, allocations: 9.25 kB / 0.6937 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.305e-05/0.5028, allocations: 11.86 kB / 0.6937 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.503, allocations: 36.08 kB / 0.6938 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.5031, allocations: 85.38 kB / 0.6938 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.5033, allocations: 23.27 kB / 0.6939 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.5034, allocations: 40.83 kB / 0.6939 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.5035, allocations: 49.88 kB / 0.6939 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.5036, allocations: 7.625 kB / 0.694 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.265e-05/0.5036, allocations: 8.469 kB / 0.694 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.574e-05/0.5036, allocations: 25.36 kB / 0.694 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.5037, allocations: 34.7 kB / 0.694 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.5039, allocations: 91 kB / 0.6941 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5039, allocations: 0 / 0.6941 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5039, allocations: 1.906 kB / 0.6941 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.5039, allocations: 0 / 0.6941 GB, free: 11.9 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007194/0.5046, allocations: 391 kB / 0.6945 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.5047, allocations: 8.125 kB / 0.6945 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.533e-05/0.5047, allocations: 37.78 kB / 0.6945 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.5048, allocations: 7.922 kB / 0.6945 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.505, allocations: 180.7 kB / 0.6947 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.505, allocations: 15.36 kB / 0.6947 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.505, allocations: 8.469 kB / 0.6947 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.5054, allocations: 112.2 kB / 0.6948 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5054, allocations: 0 / 0.6948 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.5054, allocations: 5.469 kB / 0.6948 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.5054, allocations: 1.719 kB / 0.6948 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.5058, allocations: 92.09 kB / 0.6949 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.5065, allocations: 356.8 kB / 0.6953 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.5071, allocations: 118.5 kB / 0.6954 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.5073, allocations: 52.31 kB / 0.6954 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.5074, allocations: 4 kB / 0.6954 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.5074, allocations: 32.16 kB / 0.6955 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 3.447e-06/0.5074, allocations: 0 / 0.6955 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0007562/0.5082, allocations: 189 kB / 0.6956 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.5082, allocations: 55.41 kB / 0.6957 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.5084, allocations: 130.2 kB / 0.6958 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.5085, allocations: 29.69 kB / 0.6958 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.5085, allocations: 86.89 kB / 0.6959 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.5086, allocations: 22.55 kB / 0.696 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.5087, allocations: 28.52 kB / 0.696 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.5088, allocations: 320.2 kB / 0.6963 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.509, allocations: 48.7 kB / 0.6963 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.5092, allocations: 44.7 kB / 0.6964 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.5096, allocations: 102.2 kB / 0.6965 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5096, allocations: 0 / 0.6965 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004473/0.5101, allocations: 140.7 kB / 0.6966 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.5101, allocations: 5.5 kB / 0.6966 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5101, allocations: 0 / 0.6966 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.5102, allocations: 0 / 0.6966 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.5103, allocations: 24.47 kB / 0.6966 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.5103, allocations: 3.938 kB / 0.6966 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.5105, allocations: 24.16 kB / 0.6967 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.5105, allocations: 1.375 kB / 0.6967 GB, free: 9.602 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: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001278/0.5106, allocations: 119.4 kB / 0.6968 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.5107, allocations: 6.703 kB / 0.6968 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005524/0.5112, allocations: 152.2 kB / 0.6969 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5112, allocations: 5.219 kB / 0.6969 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.5113, allocations: 3.938 kB / 0.6969 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5113, allocations: 1.344 kB / 0.6969 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.5116, allocations: 194.7 kB / 0.6971 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5116, allocations: 1.438 kB / 0.6971 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.5118, allocations: 23.59 kB / 0.6971 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5118, allocations: 1.219 kB / 0.6971 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.5118, allocations: 0 / 0.6971 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.5118, allocations: 5.188 kB / 0.6972 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.5118, allocations: 11.94 kB / 0.6972 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.5124, allocations: 236.3 kB / 0.6974 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.5125, allocations: 86.38 kB / 0.6975 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.5125, allocations: 1.312 kB / 0.6975 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.5126, allocations: 18.69 kB / 0.6975 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.5128, allocations: 23.52 kB / 0.6975 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.5128, allocations: 1.438 kB / 0.6975 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.817e-05/0.5129, allocations: 93.45 kB / 0.6976 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5129, allocations: 0 / 0.6976 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002453/0.5131, allocations: 20.69 kB / 0.6976 GB, free: 8.711 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001015/0.5142, allocations: 0.7711 MB / 0.6984 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.5146, allocations: 102.4 kB / 0.6985 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5147, allocations: 4 kB / 0.6985 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.5149, allocations: 66.59 kB / 0.6985 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.5153, allocations: 17.56 kB / 0.6986 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.5178, allocations: 1.529 MB / 0.7001 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.5182, allocations: 0.6928 MB / 0.7007 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.429e-05/0.5183, allocations: 11.94 kB / 0.7007 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-05/0.5184, allocations: 35.41 kB / 0.7008 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.5184, allocations: 0 / 0.7008 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.5439, allocations: 2.686 MB / 0.7034 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.479, allocations: 8 kB / 0.7034 GB, free: 3.16 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.065800982993096] Failed to read output from testmodel.py, exit status != 0: 8.548928790958598 8.566067625 8.059339349 Calling exit ...