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.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.001792/0.001792, allocations: 111 kB / 17.08 MB, free: 5.977 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.001829/0.001829, allocations: 193.2 kB / 20.03 MB, free: 3.043 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.564/1.564, allocations: 222.9 MB / 245.7 MB, free: 4.176 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.123/1.123, allocations: 147.7 MB / 445.6 MB, free: 8.312 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.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 66.16 kB / 0.6109 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2137, allocations: 83.16 MB / 0.6921 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002447/0.2162, allocations: 0.6913 MB / 0.6928 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.2175, allocations: 0.8329 MB / 0.6936 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.2176, allocations: 0 / 0.6936 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.2176, allocations: 3.938 kB / 0.6936 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.276e-05/0.2177, allocations: 4.938 kB / 0.6936 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.2179, allocations: 29.59 kB / 0.6936 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.218, allocations: 45.2 kB / 0.6937 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.2182, allocations: 19.91 kB / 0.6937 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.2182, allocations: 17.52 kB / 0.6937 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.945e-05/0.2183, allocations: 22.8 kB / 0.6937 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.2184, allocations: 4 kB / 0.6937 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.2184, allocations: 5.281 kB / 0.6937 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.2184, allocations: 9.422 kB / 0.6938 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.2185, allocations: 30.91 kB / 0.6938 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.2186, allocations: 40.92 kB / 0.6938 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2186, allocations: 0 / 0.6938 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2186, allocations: 0 / 0.6938 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.2186, allocations: 1.594 kB / 0.6938 GB, free: 11.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006006/0.2192, allocations: 362.7 kB / 0.6942 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2193, allocations: 13.58 kB / 0.6942 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.2193, allocations: 31.81 kB / 0.6942 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.2194, allocations: 7.266 kB / 0.6942 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.2196, allocations: 174.7 kB / 0.6944 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.2196, allocations: 5.75 kB / 0.6944 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.2196, allocations: 7.531 kB / 0.6944 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.2198, allocations: 63.38 kB / 0.6945 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2198, allocations: 0 / 0.6945 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2199, allocations: 0 / 0.6945 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2199, allocations: 1.531 kB / 0.6945 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.2201, allocations: 59.09 kB / 0.6945 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.2206, allocations: 291 kB / 0.6948 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.2208, allocations: 63.66 kB / 0.6949 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.2209, allocations: 31.2 kB / 0.6949 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.221, allocations: 0 / 0.6949 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.221, allocations: 40.52 kB / 0.6949 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.221, allocations: 0 / 0.6949 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0004638/0.2215, allocations: 117.5 kB / 0.695 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.2216, allocations: 51.41 kB / 0.6951 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2217, allocations: 110.1 kB / 0.6952 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2217, allocations: 28.48 kB / 0.6952 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.2218, allocations: 88.14 kB / 0.6953 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.2218, allocations: 7.109 kB / 0.6953 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.2219, allocations: 20.77 kB / 0.6953 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.222, allocations: 315.8 kB / 0.6956 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.2221, allocations: 28.88 kB / 0.6957 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.494e-05/0.2223, allocations: 21.23 kB / 0.6957 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.2225, allocations: 57.5 kB / 0.6957 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2225, allocations: 0 / 0.6957 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002525/0.2227, allocations: 85.22 kB / 0.6958 GB, free: 10 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2227, allocations: 5.5 kB / 0.6958 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2228, allocations: 0 / 0.6958 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2228, allocations: 3.938 kB / 0.6958 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.2229, allocations: 16.23 kB / 0.6958 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2229, allocations: 4 kB / 0.6958 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.704e-05/0.223, allocations: 9.484 kB / 0.6959 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.223, allocations: 5.312 kB / 0.6959 GB, free: 9.977 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: 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.0001019/0.2231, allocations: 108.6 kB / 0.696 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.2232, allocations: 9.328 kB / 0.696 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.2232, allocations: 9.266 kB / 0.696 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2232, allocations: 0 / 0.696 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2232, allocations: 1.375 kB / 0.696 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2232, allocations: 4 kB / 0.696 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.2235, allocations: 179.3 kB / 0.6962 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2235, allocations: 9.312 kB / 0.6962 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/0.2236, allocations: 14.86 kB / 0.6962 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2236, allocations: 1.375 kB / 0.6962 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.2236, allocations: 0 / 0.6962 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2236, allocations: 1.375 kB / 0.6962 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2236, allocations: 0 / 0.6962 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.2239, allocations: 184.4 kB / 0.6964 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.224, allocations: 86.38 kB / 0.6964 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.224, allocations: 0 / 0.6964 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2241, allocations: 9.484 kB / 0.6964 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.2242, allocations: 12.11 kB / 0.6965 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.2242, allocations: 1.375 kB / 0.6965 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.703e-05/0.2243, allocations: 92.7 kB / 0.6966 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2243, allocations: 0 / 0.6966 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00022/0.2245, allocations: 10.88 kB / 0.6966 GB, free: 9.238 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: 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.0007199/0.2252, allocations: 0.7194 MB / 0.6973 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002809/0.2255, allocations: 54.77 kB / 0.6973 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2255, allocations: 0 / 0.6973 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.2257, allocations: 34.34 kB / 0.6973 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.226, allocations: 6.5 kB / 0.6974 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.2277, allocations: 1.318 MB / 0.6986 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.228, allocations: 0.6881 MB / 0.6993 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.908e-05/0.2281, allocations: 8.281 kB / 0.6993 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.2282, allocations: 14.81 kB / 0.6993 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.2282, allocations: 0 / 0.6993 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.2517, allocations: 1.846 MB / 0.7011 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.166, allocations: 8.922 kB / 0.7011 GB, free: 5.363 MB / 0.5137 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 sys.exit(0), Time elapsed: 12.182673800969496] Failed to read output from testmodel.py, exit status != 0: 8.566489847144112 8.246153649 8.024753782 Calling exit ...