Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.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.001255/0.001255, allocations: 103.1 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.001405/0.001405, allocations: 191.8 kB / 20.02 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.536/1.536, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.161/1.161, allocations: 147.6 MB / 445.5 MB, free: 8.383 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.Min,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.3647/0.3647, allocations: 61.8 kB / 0.6109 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.5505, allocations: 83.15 MB / 0.6921 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Min): time 0.002559/0.5531, allocations: 0.7619 MB / 0.6929 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.555, allocations: 0.8641 MB / 0.6937 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.5552, allocations: 1.281 kB / 0.6937 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.776e-05/0.5552, allocations: 7.875 kB / 0.6937 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.5554, allocations: 17.31 kB / 0.6937 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.5556, allocations: 31.75 kB / 0.6938 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.5558, allocations: 90.36 kB / 0.6938 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.556, allocations: 25.8 kB / 0.6939 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.5561, allocations: 33.7 kB / 0.6939 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.5562, allocations: 48.44 kB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.5563, allocations: 8.844 kB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.463e-05/0.5563, allocations: 7.781 kB / 0.694 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.638e-05/0.5563, allocations: 26.11 kB / 0.694 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.5564, allocations: 42.52 kB / 0.694 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.5566, allocations: 82.86 kB / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5566, allocations: 3.938 kB / 0.6941 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5566, allocations: 1.375 kB / 0.6941 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.5566, allocations: 3.984 kB / 0.6941 GB, free: 11.83 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.0007296/0.5574, allocations: 386.8 kB / 0.6945 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5574, allocations: 9.562 kB / 0.6945 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.5575, allocations: 45.14 kB / 0.6945 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.5575, allocations: 8.484 kB / 0.6945 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.5577, allocations: 177.1 kB / 0.6947 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.5577, allocations: 6.781 kB / 0.6947 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.5578, allocations: 11.97 kB / 0.6947 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.5581, allocations: 113.1 kB / 0.6948 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5581, allocations: 1.781 kB / 0.6948 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.5581, allocations: 0 / 0.6948 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.5582, allocations: 6.031 kB / 0.6948 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.5586, allocations: 95.28 kB / 0.6949 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.5592, allocations: 345.9 kB / 0.6953 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007395/0.56, allocations: 127 kB / 0.6954 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.5602, allocations: 54.16 kB / 0.6954 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.5602, allocations: 1.75 kB / 0.6954 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.5603, allocations: 32.38 kB / 0.6955 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 3.957e-06/0.5603, allocations: 7.984 kB / 0.6955 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0007978/0.5611, allocations: 179.2 kB / 0.6956 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.5612, allocations: 52.78 kB / 0.6957 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.5613, allocations: 126.2 kB / 0.6958 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.5613, allocations: 25.7 kB / 0.6958 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.976e-05/0.5614, allocations: 98.88 kB / 0.6959 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.5615, allocations: 22.53 kB / 0.696 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.5615, allocations: 28.58 kB / 0.696 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5617, allocations: 316.2 kB / 0.6963 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.5619, allocations: 44.7 kB / 0.6963 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.5621, allocations: 51.64 kB / 0.6964 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.5625, allocations: 94.42 kB / 0.6965 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5625, allocations: 1.375 kB / 0.6965 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004645/0.563, allocations: 139.2 kB / 0.6966 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.563, allocations: 9.5 kB / 0.6966 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.563, allocations: 1.375 kB / 0.6966 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5631, allocations: 0 / 0.6966 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.5632, allocations: 28.41 kB / 0.6966 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.5633, allocations: 3.938 kB / 0.6966 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.5634, allocations: 20.22 kB / 0.6967 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.5634, allocations: 1.375 kB / 0.6967 GB, free: 9.539 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,min1.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.000131/0.5636, allocations: 119.5 kB / 0.6968 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.5636, allocations: 10.64 kB / 0.6968 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00057/0.5642, allocations: 155.6 kB / 0.6969 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5642, allocations: 1.375 kB / 0.6969 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5642, allocations: 3.938 kB / 0.6969 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5642, allocations: 0 / 0.6969 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.5645, allocations: 199.5 kB / 0.6971 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5645, allocations: 1.375 kB / 0.6971 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.5647, allocations: 28.45 kB / 0.6972 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.5647, allocations: 0 / 0.6972 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.5647, allocations: 1.375 kB / 0.6972 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5647, allocations: 0 / 0.6972 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.5647, allocations: 5.312 kB / 0.6972 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/0.5652, allocations: 242.5 kB / 0.6974 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.5653, allocations: 83.81 kB / 0.6975 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.5653, allocations: 1.375 kB / 0.6975 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.5655, allocations: 14.86 kB / 0.6975 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.5656, allocations: 22.78 kB / 0.6975 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.5656, allocations: 5.344 kB / 0.6975 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.564e-05/0.5657, allocations: 98.42 kB / 0.6976 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5657, allocations: 0 / 0.6976 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002436/0.5659, allocations: 15.75 kB / 0.6976 GB, free: 8.645 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 (min1.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.0008923/0.5668, allocations: 0.7702 MB / 0.6984 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004623/0.5673, allocations: 102 kB / 0.6985 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5673, allocations: 1.312 kB / 0.6985 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.5676, allocations: 65.75 kB / 0.6985 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.568, allocations: 14.69 kB / 0.6986 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.5706, allocations: 1.545 MB / 0.7001 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.571, allocations: 0.6924 MB / 0.7007 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.642e-05/0.5711, allocations: 8 kB / 0.7007 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.35e-05/0.5712, allocations: 27.42 kB / 0.7008 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of SimCode: time 8.71e-07/0.5712, allocations: 0 / 0.7008 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.5972, allocations: 2.689 MB / 0.7034 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.556, allocations: 10.88 kB / 0.7034 GB, free: 3.031 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.267607623944059] Failed to read output from testmodel.py, exit status != 0: 8.622873162152246 8.636776541 8.07754079 Calling exit ...