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.001604/0.001604, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001897/0.001897, allocations: 212.7 kB / 22.99 MB, free: 4.605 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9774/0.9774, allocations: 149.9 MB / 463.1 MB, free: 10.33 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",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.003224/0.003224, allocations: 70.77 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2412, allocations: 89.18 MB / 0.7282 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos): time 0.003086/0.2443, allocations: 0.6517 MB / 0.7288 GB, free: 348 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.2459, allocations: 0.8393 MB / 0.7297 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.246, allocations: 0 / 0.7297 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.246, allocations: 0 / 0.7297 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.725e-05/0.2461, allocations: 7.938 kB / 0.7297 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.2463, allocations: 11.98 kB / 0.7297 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.749e-05/0.2464, allocations: 27.91 kB / 0.7297 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.2465, allocations: 4 kB / 0.7297 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.112e-05/0.2466, allocations: 11.94 kB / 0.7297 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.266e-05/0.2467, allocations: 11.98 kB / 0.7297 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.2467, allocations: 0 / 0.7297 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.621e-05/0.2467, allocations: 7.938 kB / 0.7297 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.2468, allocations: 3.938 kB / 0.7297 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.2468, allocations: 11.98 kB / 0.7298 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.2469, allocations: 36.11 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2469, allocations: 0 / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2469, allocations: 0 / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.2469, allocations: 0 / 0.7298 GB, free: 15.36 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.000567/0.2475, allocations: 262.3 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.2476, allocations: 8.031 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.2476, allocations: 34.75 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.2477, allocations: 4.938 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.2478, allocations: 110.5 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.2479, allocations: 4.375 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.2479, allocations: 4.375 kB / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.2481, allocations: 50.23 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2481, allocations: 7.922 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.2481, allocations: 0 / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.2481, allocations: 3.938 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.2483, allocations: 31.97 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.2488, allocations: 212.1 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.2489, allocations: 42.5 kB / 0.7305 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.2491, allocations: 16.91 kB / 0.7305 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.2491, allocations: 4 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.2491, allocations: 42.48 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.2491, allocations: 3.938 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004783/0.2496, allocations: 77.59 kB / 0.7307 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.2497, allocations: 55.52 kB / 0.7307 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2498, allocations: 101.9 kB / 0.7308 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.2498, allocations: 25.7 kB / 0.7308 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/0.2499, allocations: 88.14 kB / 0.7309 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.2499, allocations: 7.891 kB / 0.7309 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.2499, allocations: 13.7 kB / 0.7309 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2501, allocations: 314.8 kB / 0.7312 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.2502, allocations: 15.98 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-05/0.2503, allocations: 11.98 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.2505, allocations: 52.81 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.2505, allocations: 3.938 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002866/0.2508, allocations: 61.67 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2508, allocations: 9.703 kB / 0.7314 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2509, allocations: 0 / 0.7314 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.2509, allocations: 4 kB / 0.7314 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.251, allocations: 8.031 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.251, allocations: 0 / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.218e-05/0.2511, allocations: 7.984 kB / 0.7314 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.2511, allocations: 0 / 0.7314 GB, free: 13.49 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.0001161/0.2512, allocations: 113.8 kB / 0.7315 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.2512, allocations: 3.953 kB / 0.7315 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.2516, allocations: 80.89 kB / 0.7316 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2516, allocations: 32 / 0.7316 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2516, allocations: 4 kB / 0.7316 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2516, allocations: 0 / 0.7316 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.2518, allocations: 124.7 kB / 0.7317 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2518, allocations: 0 / 0.7317 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.2519, allocations: 11.98 kB / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2519, allocations: 0 / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.2519, allocations: 4 kB / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2519, allocations: 0 / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2519, allocations: 0 / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.2523, allocations: 171.4 kB / 0.7319 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.2523, allocations: 4 kB / 0.7319 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.2523, allocations: 7.922 kB / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.2524, allocations: 4 kB / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.2525, allocations: 3.984 kB / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.2525, allocations: 0 / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.2525, allocations: 83.28 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2525, allocations: 0 / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003894/0.2529, allocations: 4 kB / 0.732 GB, free: 12.81 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.0007777/0.2537, allocations: 0.7084 MB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003012/0.254, allocations: 35.95 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.254, allocations: 0 / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.2541, allocations: 15.98 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.2546, allocations: 10.02 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.2552, allocations: 146.5 kB / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.204e-05/0.2553, allocations: 59.34 kB / 0.733 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.323e-05/0.2554, allocations: 3.938 kB / 0.733 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.2554, allocations: 11.44 kB / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.2554, allocations: 4 kB / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/0.2921, allocations: 1.81 MB / 0.7347 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.42, allocations: 8.906 kB / 0.7348 GB, free: 10.05 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.428354571107775] Failed to read output from testmodel.py, exit status != 0: 11.53174443403259 11.552521821 11.300761339 Calling exit ...