Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.001291/0.001291, allocations: 105.2 kB / 20.48 MB, free: 1.488 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.001433/0.001433, allocations: 217.1 kB / 23.79 MB, free: 4.699 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.504/1.504, allocations: 230.6 MB / 257.6 MB, free: 8.008 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 0.9686/0.9686, allocations: 150 MB / 464 MB, free: 10.49 MB / 366.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.Reals.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",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.002015/0.002015, allocations: 67.45 kB / 0.6421 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2029, allocations: 89.17 MB / 0.7292 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Max): time 0.00222/0.2051, allocations: 0.6933 MB / 0.7298 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.2062, allocations: 0.8354 MB / 0.7307 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.2062, allocations: 0 / 0.7307 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.2062, allocations: 3.938 kB / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.112e-05/0.2063, allocations: 7.938 kB / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.2064, allocations: 15.98 kB / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.635e-05/0.2065, allocations: 51.78 kB / 0.7307 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.378e-05/0.2066, allocations: 4 kB / 0.7307 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.282e-05/0.2066, allocations: 19.98 kB / 0.7308 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.2067, allocations: 15.92 kB / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.2067, allocations: 4 kB / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.2067, allocations: 11.94 kB / 0.7308 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.2067, allocations: 11.97 kB / 0.7308 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.2068, allocations: 19.88 kB / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.787e-05/0.2069, allocations: 48.02 kB / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2069, allocations: 0 / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2069, allocations: 0 / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2069, allocations: 4 kB / 0.7309 GB, free: 15.47 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005386/0.2074, allocations: 282.2 kB / 0.7311 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.2075, allocations: 12.03 kB / 0.7311 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.909e-05/0.2075, allocations: 4.188 kB / 0.7311 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.2075, allocations: 34.75 kB / 0.7312 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.2076, allocations: 4.938 kB / 0.7312 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.2077, allocations: 122.4 kB / 0.7313 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2077, allocations: 384 / 0.7313 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.2077, allocations: 4.375 kB / 0.7313 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.208, allocations: 73.97 kB / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.208, allocations: 0 / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.208, allocations: 0 / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.208, allocations: 0 / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.2083, allocations: 63.92 kB / 0.7314 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.2087, allocations: 247.9 kB / 0.7317 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.2089, allocations: 54.55 kB / 0.7317 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.2091, allocations: 36.91 kB / 0.7318 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.2091, allocations: 4 kB / 0.7318 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.2091, allocations: 30.56 kB / 0.7318 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.2091, allocations: 4 kB / 0.7318 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005604/0.2097, allocations: 137.6 kB / 0.7319 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.2097, allocations: 51.41 kB / 0.732 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.381e-05/0.2098, allocations: 109.8 kB / 0.7321 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2099, allocations: 33.7 kB / 0.7321 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.2099, allocations: 80.14 kB / 0.7322 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.2099, allocations: 11.95 kB / 0.7322 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.21, allocations: 9.719 kB / 0.7322 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2101, allocations: 326.8 kB / 0.7325 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.2103, allocations: 27.97 kB / 0.7326 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.2104, allocations: 35.89 kB / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.2107, allocations: 64.8 kB / 0.7326 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2107, allocations: 0 / 0.7326 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00034/0.211, allocations: 113.5 kB / 0.7328 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.211, allocations: 4 kB / 0.7328 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.211, allocations: 4 kB / 0.7328 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2111, allocations: 0 / 0.7328 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.2112, allocations: 11.98 kB / 0.7328 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2112, allocations: 0 / 0.7328 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.2113, allocations: 15.92 kB / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.2113, allocations: 0 / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.273e-05/0.2114, allocations: 127.7 kB / 0.7329 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.2114, allocations: 3.953 kB / 0.7329 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.2118, allocations: 105.5 kB / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2118, allocations: 0 / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2118, allocations: 0 / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2118, allocations: 4 kB / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.212, allocations: 144.6 kB / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.212, allocations: 4 kB / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.705e-05/0.2121, allocations: 15.97 kB / 0.7332 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2121, allocations: 4 kB / 0.7332 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2121, allocations: 4 kB / 0.7332 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2121, allocations: 0 / 0.7332 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2121, allocations: 0 / 0.7332 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.2125, allocations: 195.4 kB / 0.7334 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.2125, allocations: 3.953 kB / 0.7334 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.2125, allocations: 7.984 kB / 0.7334 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2126, allocations: 11.92 kB / 0.7334 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.2127, allocations: 8 kB / 0.7334 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.2127, allocations: 0 / 0.7334 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.2127, allocations: 91.27 kB / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2127, allocations: 4 kB / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002356/0.213, allocations: 4 kB / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007423/0.2137, allocations: 0.7322 MB / 0.7342 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.214, allocations: 67.91 kB / 0.7343 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.214, allocations: 0 / 0.7343 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.2142, allocations: 39.98 kB / 0.7343 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.2145, allocations: 11.98 kB / 0.7343 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.2151, allocations: 159.1 kB / 0.7345 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.2154, allocations: 0.6807 MB / 0.7351 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.2154, allocations: 0 / 0.7351 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.2155, allocations: 15.44 kB / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2155, allocations: 0 / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.238, allocations: 1.769 MB / 0.7369 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.41, allocations: 1.922 kB / 0.7369 GB, free: 9.086 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.278627300984226] Failed to read output from testmodel.py, exit status != 0: 11.576914527046029 11.594070514 11.38390731 Calling exit ...