Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001818/0.001818, allocations: 118.8 kB / 17.84 MB, free: 5.234 MB / 14.72 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.00216/0.00216, allocations: 202.3 kB / 20.79 MB, free: 2.297 MB / 14.72 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 1.594/1.594, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 1.065/1.065, allocations: 150 MB / 460.2 MB, free: 5.281 MB / 350.1 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.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 72.73 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2082, allocations: 89.13 MB / 0.7239 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002087/0.2103, allocations: 0.6877 MB / 0.7245 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.2116, allocations: 0.8688 MB / 0.7254 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.2117, allocations: 0 / 0.7254 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.2117, allocations: 3.938 kB / 0.7254 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.674e-05/0.2118, allocations: 3.938 kB / 0.7254 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.2119, allocations: 27.91 kB / 0.7254 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.212, allocations: 43.92 kB / 0.7254 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.2122, allocations: 19.91 kB / 0.7255 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.42e-05/0.2122, allocations: 19.92 kB / 0.7255 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.2123, allocations: 19.92 kB / 0.7255 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.2123, allocations: 8 kB / 0.7255 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.2123, allocations: 4 kB / 0.7255 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.2124, allocations: 11.97 kB / 0.7255 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.2124, allocations: 23.86 kB / 0.7256 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.2125, allocations: 40.09 kB / 0.7256 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2125, allocations: 4 kB / 0.7256 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2125, allocations: 0 / 0.7256 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2125, allocations: 3.938 kB / 0.7256 GB, free: 2.25 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006517/0.2132, allocations: 359.3 kB / 0.7259 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.2132, allocations: 12.03 kB / 0.726 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.679e-05/0.2133, allocations: 192 / 0.726 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.2133, allocations: 34.73 kB / 0.726 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.2133, allocations: 8.875 kB / 0.726 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.2135, allocations: 188.2 kB / 0.7262 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.2136, allocations: 384 / 0.7262 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.2136, allocations: 7.938 kB / 0.7262 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.2138, allocations: 61.66 kB / 0.7262 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2138, allocations: 0 / 0.7262 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2138, allocations: 3.984 kB / 0.7262 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2138, allocations: 4 kB / 0.7262 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.2141, allocations: 51.94 kB / 0.7263 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.2146, allocations: 288.8 kB / 0.7266 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.2149, allocations: 62.53 kB / 0.7266 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.215, allocations: 28.92 kB / 0.7267 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.215, allocations: 0 / 0.7267 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.215, allocations: 38.56 kB / 0.7267 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.215, allocations: 0 / 0.7267 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0004972/0.2155, allocations: 117.5 kB / 0.7268 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.2156, allocations: 51.41 kB / 0.7269 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.2157, allocations: 109.8 kB / 0.727 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.2157, allocations: 25.7 kB / 0.727 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.2158, allocations: 92.22 kB / 0.7271 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.2158, allocations: 11.89 kB / 0.7271 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.2159, allocations: 21.7 kB / 0.7271 GB, free: 500 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.216, allocations: 314.8 kB / 0.7274 GB, free: 176 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.2161, allocations: 27.97 kB / 0.7274 GB, free: 148 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.2163, allocations: 23.98 kB / 0.7275 GB, free: 124 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.2165, allocations: 56.81 kB / 0.7275 GB, free: 64 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2165, allocations: 3.938 kB / 0.7275 GB, free: 60 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000278/0.2167, allocations: 81.64 kB / 0.7276 GB, free: 15.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.2168, allocations: 5.562 kB / 0.7276 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2168, allocations: 0 / 0.7276 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.2168, allocations: 4 kB / 0.7276 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.2169, allocations: 11.98 kB / 0.7276 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.2169, allocations: 8 kB / 0.7276 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.495e-05/0.217, allocations: 23.75 kB / 0.7276 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.217, allocations: 0 / 0.7276 GB, free: 15.92 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001198/0.2172, allocations: 109.8 kB / 0.7277 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.2172, allocations: 0 / 0.7277 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.2172, allocations: 19.83 kB / 0.7278 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2172, allocations: 0 / 0.7278 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2172, allocations: 0 / 0.7278 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2172, allocations: 3.938 kB / 0.7278 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.2175, allocations: 170 kB / 0.7279 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.2175, allocations: 4 kB / 0.7279 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.171e-05/0.2176, allocations: 19.92 kB / 0.728 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.2176, allocations: 3.984 kB / 0.728 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.2176, allocations: 0 / 0.728 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2176, allocations: 0 / 0.728 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2176, allocations: 0 / 0.728 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.2179, allocations: 191.4 kB / 0.7281 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.218, allocations: 81.11 kB / 0.7282 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.218, allocations: 0 / 0.7282 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.2181, allocations: 7.984 kB / 0.7282 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.2182, allocations: 11.98 kB / 0.7282 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.2182, allocations: 3.938 kB / 0.7282 GB, free: 15.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.975e-05/0.2183, allocations: 87.28 kB / 0.7283 GB, free: 15.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2183, allocations: 0 / 0.7283 GB, free: 15.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002205/0.2185, allocations: 4 kB / 0.7283 GB, free: 15.12 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0007126/0.2192, allocations: 0.7241 MB / 0.729 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.2195, allocations: 55.95 kB / 0.7291 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2195, allocations: 0 / 0.7291 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.2196, allocations: 31.91 kB / 0.7291 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.2199, allocations: 11.94 kB / 0.7291 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.2218, allocations: 1.323 MB / 0.7304 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.2222, allocations: 0.6884 MB / 0.7311 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.196e-05/0.2222, allocations: 7.984 kB / 0.7311 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.2223, allocations: 15.44 kB / 0.7311 GB, free: 12.13 MB / 0.545 GB Notification: Performance of SimCode: time 1.513e-06/0.2223, allocations: 0 / 0.7311 GB, free: 12.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.2432, allocations: 1.89 MB / 0.733 GB, free: 10.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.446, allocations: 12.39 kB / 0.733 GB, free: 10.37 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.597643031040207] Failed to read output from testmodel.py, exit status != 0: 8.57109570398461 8.586465412 8.370970762 Calling exit ...