Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.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.001312/0.001312, allocations: 109 kB / 20.48 MB, free: 1.473 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.001497/0.001497, allocations: 210.7 kB / 23.79 MB, free: 4.684 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.462/1.462, allocations: 230.6 MB / 257.6 MB, free: 8.004 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.9664/0.9664, allocations: 150 MB / 464 MB, free: 10.5 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.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",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.002055/0.002055, allocations: 69.17 kB / 0.6421 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1973, allocations: 89.17 MB / 0.7292 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002535/0.1999, allocations: 0.6511 MB / 0.7298 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.2015, allocations: 0.8588 MB / 0.7306 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.2015, allocations: 4 kB / 0.7306 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.2015, allocations: 3.938 kB / 0.7306 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.85e-05/0.2016, allocations: 3.938 kB / 0.7306 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.2018, allocations: 11.98 kB / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.159e-05/0.2019, allocations: 19.94 kB / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.003e-05/0.202, allocations: 7.984 kB / 0.7307 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.405e-05/0.2021, allocations: 11.94 kB / 0.7307 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.2021, allocations: 11.98 kB / 0.7307 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.2021, allocations: 0 / 0.7307 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.387e-05/0.2022, allocations: 7.984 kB / 0.7307 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.2022, allocations: 11.94 kB / 0.7307 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.2022, allocations: 8 kB / 0.7307 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.2023, allocations: 32.11 kB / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2023, allocations: 0 / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2023, allocations: 0 / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2023, allocations: 0 / 0.7308 GB, free: 15.57 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004967/0.2028, allocations: 261.1 kB / 0.731 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2029, allocations: 12.03 kB / 0.731 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.69e-05/0.2029, allocations: 4.188 kB / 0.731 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.2029, allocations: 38.69 kB / 0.7311 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.835e-05/0.203, allocations: 4.938 kB / 0.7311 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.2032, allocations: 106.5 kB / 0.7312 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.2032, allocations: 8.375 kB / 0.7312 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.2032, allocations: 4.312 kB / 0.7312 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.2034, allocations: 53.98 kB / 0.7312 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2034, allocations: 0 / 0.7312 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.2034, allocations: 0 / 0.7312 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2034, allocations: 3.938 kB / 0.7312 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.2037, allocations: 39.95 kB / 0.7313 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.2041, allocations: 219.9 kB / 0.7315 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.2043, allocations: 34.56 kB / 0.7315 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.2044, allocations: 24.89 kB / 0.7315 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.2044, allocations: 0 / 0.7315 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.2045, allocations: 34.56 kB / 0.7316 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2045, allocations: 4 kB / 0.7316 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0005018/0.205, allocations: 77.58 kB / 0.7317 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.205, allocations: 51.53 kB / 0.7317 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.2051, allocations: 109.8 kB / 0.7318 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.2052, allocations: 25.7 kB / 0.7318 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.2052, allocations: 92.05 kB / 0.7319 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.2052, allocations: 7.953 kB / 0.7319 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.2053, allocations: 13.72 kB / 0.7319 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2055, allocations: 310.8 kB / 0.7322 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.2056, allocations: 15.98 kB / 0.7323 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.2057, allocations: 23.97 kB / 0.7323 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.2059, allocations: 36.77 kB / 0.7323 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2059, allocations: 4 kB / 0.7323 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003069/0.2063, allocations: 69.59 kB / 0.7324 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.2063, allocations: 14.44 kB / 0.7324 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2063, allocations: 0 / 0.7324 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2063, allocations: 0 / 0.7324 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.2064, allocations: 7.984 kB / 0.7324 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2064, allocations: 0 / 0.7324 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.205e-05/0.2065, allocations: 4 kB / 0.7324 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.2065, allocations: 0 / 0.7324 GB, free: 13.7 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 (2): * Single equations (assignments): 2 * 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.000112/0.2066, allocations: 117.8 kB / 0.7325 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.2066, allocations: 3.953 kB / 0.7325 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.207, allocations: 80.91 kB / 0.7326 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.207, allocations: 0 / 0.7326 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.207, allocations: 3.938 kB / 0.7326 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.207, allocations: 0 / 0.7326 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.2072, allocations: 128.7 kB / 0.7327 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2072, allocations: 0 / 0.7327 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.993e-05/0.2073, allocations: 11.98 kB / 0.7327 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.2073, allocations: 32 / 0.7327 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2073, allocations: 4 kB / 0.7327 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.2074, allocations: 4 kB / 0.7327 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2074, allocations: 0 / 0.7327 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.2077, allocations: 163.5 kB / 0.7329 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.2077, allocations: 7.938 kB / 0.7329 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.2077, allocations: 0 / 0.7329 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.2079, allocations: 12.02 kB / 0.7329 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.2079, allocations: 3.938 kB / 0.7329 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.2079, allocations: 0 / 0.7329 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.276e-05/0.208, allocations: 87.27 kB / 0.733 GB, free: 13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.208, allocations: 0 / 0.733 GB, free: 13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004028/0.2084, allocations: 4 kB / 0.733 GB, free: 13 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 (2): * Single equations (assignments): 2 * 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.0008122/0.2092, allocations: 0.7007 MB / 0.7337 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.2095, allocations: 35.95 kB / 0.7337 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2095, allocations: 3.938 kB / 0.7337 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.2096, allocations: 24.08 kB / 0.7338 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.2101, allocations: 4 kB / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.2108, allocations: 143.2 kB / 0.7339 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.2112, allocations: 0.6768 MB / 0.7346 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.2113, allocations: 0 / 0.7346 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.2113, allocations: 15.44 kB / 0.7346 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.2113, allocations: 4.062 kB / 0.7346 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.2377, allocations: 1.405 MB / 0.7359 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.46, allocations: 3.984 kB / 0.736 GB, free: 10.04 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.274726954987273] Failed to read output from testmodel.py, exit status != 0: 11.620389687013812 11.64673919 11.439617689 Calling exit ...