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.00132/0.00132, allocations: 114.2 kB / 17.84 MB, free: 5.312 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.001447/0.001447, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.553/1.553, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.9999/0.9999, allocations: 150 MB / 460.2 MB, free: 5.27 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.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.001996/0.001996, allocations: 74.48 kB / 0.6369 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1635, allocations: 89.12 MB / 0.7239 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002174/0.1657, allocations: 0.6572 MB / 0.7245 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.167, allocations: 0.8553 MB / 0.7254 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.167, allocations: 4 kB / 0.7254 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.167, allocations: 3.938 kB / 0.7254 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.779e-05/0.1671, allocations: 0 / 0.7254 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.1673, allocations: 19.91 kB / 0.7254 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.491e-05/0.1674, allocations: 23.88 kB / 0.7254 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1675, allocations: 11.98 kB / 0.7254 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.106e-05/0.1675, allocations: 4 kB / 0.7254 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.235e-05/0.1676, allocations: 15.92 kB / 0.7254 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1676, allocations: 4 kB / 0.7255 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.077e-05/0.1676, allocations: 4 kB / 0.7255 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.1677, allocations: 0 / 0.7255 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.1677, allocations: 19.91 kB / 0.7255 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.1678, allocations: 20.19 kB / 0.7255 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1678, allocations: 4 kB / 0.7255 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.954e-06/0.1678, allocations: 0 / 0.7255 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.1678, allocations: 4 kB / 0.7255 GB, free: 2.363 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005334/0.1684, allocations: 339.4 kB / 0.7258 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1684, allocations: 8.031 kB / 0.7258 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.221e-05/0.1684, allocations: 8.188 kB / 0.7258 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.1685, allocations: 34.75 kB / 0.7259 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.976e-05/0.1685, allocations: 0.9375 kB / 0.7259 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.1687, allocations: 172.3 kB / 0.726 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1687, allocations: 384 / 0.726 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.1687, allocations: 4.375 kB / 0.726 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.1689, allocations: 57.92 kB / 0.7261 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1689, allocations: 0 / 0.7261 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1689, allocations: 0 / 0.7261 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1689, allocations: 0 / 0.7261 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1691, allocations: 31.97 kB / 0.7261 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.1695, allocations: 256.8 kB / 0.7264 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.1697, allocations: 38.5 kB / 0.7264 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.745e-05/0.1698, allocations: 20.91 kB / 0.7264 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.1698, allocations: 3.984 kB / 0.7264 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.1698, allocations: 34.56 kB / 0.7265 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1699, allocations: 0 / 0.7265 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003852/0.1702, allocations: 81.64 kB / 0.7265 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.1703, allocations: 55.41 kB / 0.7266 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.657e-05/0.1704, allocations: 101.8 kB / 0.7267 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1704, allocations: 25.7 kB / 0.7267 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.1705, allocations: 86.03 kB / 0.7268 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1705, allocations: 3.953 kB / 0.7268 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.1705, allocations: 21.78 kB / 0.7268 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.1707, allocations: 318.8 kB / 0.7271 GB, free: 476 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.849e-05/0.1708, allocations: 15.98 kB / 0.7271 GB, free: 460 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.639e-05/0.1709, allocations: 15.98 kB / 0.7272 GB, free: 444 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.171, allocations: 48.81 kB / 0.7272 GB, free: 392 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.171, allocations: 0 / 0.7272 GB, free: 392 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001996/0.1712, allocations: 57.67 kB / 0.7273 GB, free: 328 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1712, allocations: 8 kB / 0.7273 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1712, allocations: 0 / 0.7273 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1713, allocations: 0 / 0.7273 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.123e-05/0.1713, allocations: 11.92 kB / 0.7273 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1713, allocations: 7.938 kB / 0.7273 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.224e-05/0.1714, allocations: 11.97 kB / 0.7273 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1714, allocations: 4 kB / 0.7273 GB, free: 284 kB / 0.5294 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 8.836e-05/0.1715, allocations: 113.8 kB / 0.7274 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.1715, allocations: 0 / 0.7274 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.1717, allocations: 68.78 kB / 0.7275 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1717, allocations: 0 / 0.7275 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1718, allocations: 0 / 0.7275 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1718, allocations: 4.031 kB / 0.7275 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.172, allocations: 161.6 kB / 0.7276 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.172, allocations: 0 / 0.7276 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-05/0.172, allocations: 11.98 kB / 0.7276 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.172, allocations: 3.938 kB / 0.7277 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.172, allocations: 0 / 0.7277 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.172, allocations: 4 kB / 0.7277 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.172, allocations: 0 / 0.7277 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.1723, allocations: 167.5 kB / 0.7278 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.1724, allocations: 81.11 kB / 0.7279 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1724, allocations: 0 / 0.7279 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.1724, allocations: 7.984 kB / 0.7279 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.1725, allocations: 0 / 0.7279 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1725, allocations: 0 / 0.7279 GB, free: 15.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.389e-05/0.1725, allocations: 83.28 kB / 0.728 GB, free: 15.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1725, allocations: 4.031 kB / 0.728 GB, free: 15.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002146/0.1728, allocations: 4 kB / 0.728 GB, free: 15.48 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: 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.0006248/0.1734, allocations: 0.7006 MB / 0.7287 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.1736, allocations: 36 kB / 0.7287 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1736, allocations: 0 / 0.7287 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.846e-05/0.1737, allocations: 19.98 kB / 0.7287 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.174, allocations: 11.92 kB / 0.7287 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.1745, allocations: 151.7 kB / 0.7289 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.1748, allocations: 0.6768 MB / 0.7295 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.067e-05/0.1748, allocations: 0 / 0.7295 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.1749, allocations: 15.44 kB / 0.7296 GB, free: 13.78 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1749, allocations: 0 / 0.7296 GB, free: 13.78 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.1974, allocations: 1.309 MB / 0.7308 GB, free: 12.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.53, allocations: 22.95 kB / 0.7309 GB, free: 12.58 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.53938441799255] Failed to read output from testmodel.py, exit status != 0: 8.652697523997631 8.670821964 8.498651397 Calling exit ...