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.001304/0.001304, allocations: 97.17 kB / 19.74 MB, free: 1.871 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.001392/0.001392, allocations: 209.4 kB / 23.04 MB, free: 5.008 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.762 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 1.022/1.022, allocations: 150 MB / 463.2 MB, free: 10.25 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",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.002047/0.002047, allocations: 62.16 kB / 0.6413 GB, free: 9.82 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1654, allocations: 89.18 MB / 0.7284 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Max): time 0.001871/0.1673, allocations: 0.6694 MB / 0.7291 GB, free: 44 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009957/0.1683, allocations: 0.8316 MB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.1683, allocations: 0 / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.1684, allocations: 7.938 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.989e-05/0.1684, allocations: 7.922 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001014/0.1685, allocations: 15.98 kB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.1686, allocations: 43.84 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1687, allocations: 11.98 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.1688, allocations: 11.94 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.1689, allocations: 27.84 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1689, allocations: 4 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.1689, allocations: 4 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.1689, allocations: 4 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.1689, allocations: 19.92 kB / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.425e-05/0.169, allocations: 44.08 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.169, allocations: 0 / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.169, allocations: 0 / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.169, allocations: 0 / 0.7301 GB, free: 15 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.0004986/0.1695, allocations: 286.2 kB / 0.7303 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1696, allocations: 12.03 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.1696, allocations: 34.69 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.1696, allocations: 4.922 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.914e-05/0.1697, allocations: 118.4 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1697, allocations: 8.375 kB / 0.7305 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1698, allocations: 384 / 0.7305 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.17, allocations: 78.09 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.17, allocations: 3.938 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.17, allocations: 4 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.17, allocations: 0 / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.1703, allocations: 67.92 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.1706, allocations: 228 kB / 0.7309 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.1709, allocations: 58.48 kB / 0.7309 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.171, allocations: 36.91 kB / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.171, allocations: 0 / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1711, allocations: 34.56 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1711, allocations: 4 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005394/0.1716, allocations: 125.5 kB / 0.7311 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1716, allocations: 55.39 kB / 0.7312 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.1717, allocations: 113.8 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1717, allocations: 29.64 kB / 0.7313 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.1718, allocations: 88.14 kB / 0.7314 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.1718, allocations: 11.95 kB / 0.7314 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.1718, allocations: 9.719 kB / 0.7314 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.172, allocations: 322.8 kB / 0.7317 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1721, allocations: 23.97 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.1723, allocations: 31.95 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.1726, allocations: 73.02 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1726, allocations: 0 / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00034/0.1729, allocations: 109.5 kB / 0.732 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1729, allocations: 8 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1729, allocations: 0 / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1729, allocations: 4 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1731, allocations: 15.92 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1731, allocations: 4 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.896e-05/0.1731, allocations: 7.984 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1732, allocations: 4 kB / 0.732 GB, free: 12.83 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 8.033e-05/0.1732, allocations: 117.7 kB / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.1733, allocations: 11.95 kB / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.1736, allocations: 101.6 kB / 0.7322 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1736, allocations: 4 kB / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1736, allocations: 0 / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1736, allocations: 0 / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.1738, allocations: 144.6 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1738, allocations: 0 / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1739, allocations: 19.92 kB / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1739, allocations: 0 / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1739, allocations: 3.984 kB / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1739, allocations: 7.938 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1739, allocations: 4 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.1743, allocations: 191.4 kB / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.1743, allocations: 7.953 kB / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.1743, allocations: 0 / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1744, allocations: 15.97 kB / 0.7326 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.1745, allocations: 4 kB / 0.7326 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.1745, allocations: 4 kB / 0.7326 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.289e-05/0.1745, allocations: 87.27 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1745, allocations: 0 / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002185/0.1747, allocations: 8 kB / 0.7327 GB, free: 12.03 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.0006758/0.1754, allocations: 0.728 MB / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.1758, allocations: 67.92 kB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1758, allocations: 4 kB / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.1759, allocations: 35.91 kB / 0.7335 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.1762, allocations: 9.516 kB / 0.7335 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.1767, allocations: 159.1 kB / 0.7337 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.1e-05/0.1767, allocations: 63.34 kB / 0.7337 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.568e-05/0.1767, allocations: 3.984 kB / 0.7337 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.1768, allocations: 15.44 kB / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1768, allocations: 0 / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.2043, allocations: 2.173 MB / 0.7359 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.26, allocations: 17.58 kB / 0.7359 GB, free: 8.82 MB / 0.5606 GB " [Timeout remaining time 649] (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.029311802936718] Failed to read output from testmodel.py, exit status != 0: 11.360542340902612 11.37620762 11.204092222 Calling exit ...