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.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.001294/0.001294, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.000905/0.000905, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9103/0.9103, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.5739/0.5739, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 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.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 2.755e-06/2.755e-06, allocations: 0 / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.945e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.00154/0.001559, allocations: 0.7398 MB / 0.5549 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009381/0.002497, allocations: 0.886 MB / 0.5558 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.002551, allocations: 0 / 0.5558 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.002585, allocations: 7.875 kB / 0.5558 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.881e-05/0.002664, allocations: 19.86 kB / 0.5558 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.002831, allocations: 31.95 kB / 0.5558 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.771e-05/0.002929, allocations: 87.75 kB / 0.5559 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.003068, allocations: 27.92 kB / 0.556 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.979e-05/0.003158, allocations: 55.88 kB / 0.556 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.003222, allocations: 39.89 kB / 0.556 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.003255, allocations: 8 kB / 0.5561 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.003267, allocations: 11.94 kB / 0.5561 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.003288, allocations: 15.97 kB / 0.5561 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.00332, allocations: 23.92 kB / 0.5561 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.003438, allocations: 91.7 kB / 0.5562 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.003442, allocations: 0 / 0.5562 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.222e-06/0.003443, allocations: 4 kB / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.003447, allocations: 0 / 0.5562 GB, free: 0.7109 MB / 0.5105 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.0004387/0.003886, allocations: 318.1 kB / 0.5565 GB, free: 380 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.003924, allocations: 8.625 kB / 0.5565 GB, free: 372 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.003957, allocations: 42.67 kB / 0.5565 GB, free: 320 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.003985, allocations: 12.89 kB / 0.5566 GB, free: 308 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.549e-05/0.00408, allocations: 129.5 kB / 0.5567 GB, free: 152 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.004098, allocations: 8.375 kB / 0.5567 GB, free: 144 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.00411, allocations: 4.375 kB / 0.5567 GB, free: 140 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.004319, allocations: 109.9 kB / 0.5568 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.004326, allocations: 0 / 0.5568 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.004342, allocations: 7.984 kB / 0.5568 GB, free: 16 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.004347, allocations: 0 / 0.5568 GB, free: 16 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.004662, allocations: 99.91 kB / 0.5569 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.005184, allocations: 295.8 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/0.005734, allocations: 114.5 kB / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.005892, allocations: 52.88 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.005918, allocations: 3.984 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.005938, allocations: 34.56 kB / 0.5574 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.043e-06/0.005941, allocations: 4 kB / 0.5574 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0005579/0.006498, allocations: 181.5 kB / 0.5576 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.00653, allocations: 55.41 kB / 0.5576 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.00661, allocations: 129.1 kB / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.006622, allocations: 25.7 kB / 0.5578 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.006662, allocations: 92.06 kB / 0.5578 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.006682, allocations: 19.86 kB / 0.5579 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.006723, allocations: 25.7 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.582e-05/0.006798, allocations: 318.8 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.674e-05/0.006895, allocations: 47.95 kB / 0.5582 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.303e-05/0.006988, allocations: 47.95 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.007186, allocations: 100.7 kB / 0.5584 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.007188, allocations: 0 / 0.5584 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000228/0.007416, allocations: 142 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.00743, allocations: 6.344 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.007435, allocations: 3.938 kB / 0.5585 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.007448, allocations: 0 / 0.5585 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.00755, allocations: 23.97 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.007555, allocations: 0 / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.428e-05/0.007609, allocations: 15.98 kB / 0.5586 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.007618, allocations: 8.016 kB / 0.5586 GB, free: 14.09 MB / 0.5261 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 6.745e-05/0.007686, allocations: 121.8 kB / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.007703, allocations: 7.953 kB / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.007981, allocations: 154 kB / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.007984, allocations: 4 kB / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.007988, allocations: 0 / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.007992, allocations: 4 kB / 0.5589 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.008135, allocations: 164.5 kB / 0.559 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008136, allocations: 0 / 0.559 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.008207, allocations: 23.97 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.00821, allocations: 0 / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.008219, allocations: 8 kB / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.008221, allocations: 0 / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008222, allocations: 0 / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.00848, allocations: 247.3 kB / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.008493, allocations: 7.953 kB / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.008506, allocations: 0 / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.008575, allocations: 15.97 kB / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.008636, allocations: 19.97 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.008642, allocations: 4 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.008681, allocations: 99.27 kB / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.008681, allocations: 4 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001645/0.008846, allocations: 15.94 kB / 0.5594 GB, free: 13.13 MB / 0.5261 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.0004513/0.009297, allocations: 0.7592 MB / 0.5602 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.009548, allocations: 107.9 kB / 0.5603 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.00955, allocations: 4 kB / 0.5603 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.009659, allocations: 59.89 kB / 0.5603 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.009911, allocations: 14.94 kB / 0.5604 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.01126, allocations: 1.534 MB / 0.5619 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.086e-05/0.01131, allocations: 75.33 kB / 0.5619 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.051e-05/0.01136, allocations: 15.98 kB / 0.5619 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.01143, allocations: 28.48 kB / 0.562 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.01143, allocations: 0 / 0.562 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.03083, allocations: 3.488 MB / 0.5654 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.079, allocations: 6.094 kB / 0.5654 GB, free: 7.078 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.552401775494218] Failed to read output from testmodel.py, exit status != 0: 7.160359827801585 7.168450395 7.163329878 Calling exit ...