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.0008971/0.0008971, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008855/0.0008855, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9206/0.9206, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.5807/0.5807, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0.5543 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.078e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Max): time 0.001778/0.001798, allocations: 0.687 MB / 0.5549 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.002911, allocations: 0.8237 MB / 0.5557 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.002951, allocations: 4 kB / 0.5557 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.002983, allocations: 3.938 kB / 0.5557 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.901e-05/0.003052, allocations: 7.938 kB / 0.5557 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.003171, allocations: 11.98 kB / 0.5558 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.712e-05/0.003268, allocations: 47.84 kB / 0.5558 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.003378, allocations: 7.984 kB / 0.5558 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.685e-05/0.003465, allocations: 27.91 kB / 0.5558 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.753e-05/0.003513, allocations: 15.98 kB / 0.5559 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.003542, allocations: 4 kB / 0.5559 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.003553, allocations: 4 kB / 0.5559 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.003573, allocations: 11.98 kB / 0.5559 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.0036, allocations: 15.88 kB / 0.5559 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.003703, allocations: 47.84 kB / 0.5559 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003705, allocations: 0 / 0.5559 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.262e-06/0.003706, allocations: 0 / 0.5559 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.00371, allocations: 0 / 0.5559 GB, free: 0.9883 MB / 0.5105 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.0004671/0.004177, allocations: 282.3 kB / 0.5562 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.004222, allocations: 8.625 kB / 0.5562 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.004257, allocations: 34.75 kB / 0.5562 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.004285, allocations: 12.89 kB / 0.5563 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.004387, allocations: 121.6 kB / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.004399, allocations: 384 / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.004411, allocations: 8.375 kB / 0.5564 GB, free: 476 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.004635, allocations: 62.22 kB / 0.5564 GB, free: 408 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.004644, allocations: 192 / 0.5564 GB, free: 408 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.004656, allocations: 4.375 kB / 0.5564 GB, free: 404 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.004668, allocations: 8.125 kB / 0.5565 GB, free: 396 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.004897, allocations: 67.86 kB / 0.5565 GB, free: 328 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.005248, allocations: 224.1 kB / 0.5567 GB, free: 60 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.005436, allocations: 50.53 kB / 0.5568 GB, free: 0 / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.005572, allocations: 36.92 kB / 0.5568 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.005595, allocations: 3.938 kB / 0.5568 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.005628, allocations: 46.48 kB / 0.5569 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.00563, allocations: 4 kB / 0.5569 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004661/0.006096, allocations: 121.6 kB / 0.557 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.006129, allocations: 51.41 kB / 0.557 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.006204, allocations: 105.8 kB / 0.5571 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.006222, allocations: 29.7 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.006264, allocations: 96.08 kB / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.00629, allocations: 7.891 kB / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.006326, allocations: 17.72 kB / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.006414, allocations: 310.8 kB / 0.5576 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.00654, allocations: 35.95 kB / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.006687, allocations: 32.09 kB / 0.5576 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.006904, allocations: 76.86 kB / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006906, allocations: 0 / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002392/0.007145, allocations: 101.5 kB / 0.5578 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.007159, allocations: 4 kB / 0.5578 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.007164, allocations: 4 kB / 0.5578 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.007177, allocations: 4 kB / 0.5578 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/0.007275, allocations: 15.97 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.00728, allocations: 0 / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.007338, allocations: 11.98 kB / 0.5578 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.007346, allocations: 4 kB / 0.5579 GB, free: 14.83 MB / 0.5261 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 6.423e-05/0.007411, allocations: 113.8 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.007436, allocations: 3.938 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.007724, allocations: 117.5 kB / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.007726, allocations: 0 / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.00773, allocations: 0 / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.007734, allocations: 7.984 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.007881, allocations: 132.7 kB / 0.5582 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007883, allocations: 0 / 0.5582 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.264e-05/0.007965, allocations: 19.92 kB / 0.5582 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.007968, allocations: 4 kB / 0.5582 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.007979, allocations: 8 kB / 0.5582 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.007981, allocations: 0 / 0.5582 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007981, allocations: 0 / 0.5582 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.008274, allocations: 195.4 kB / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.008286, allocations: 11.94 kB / 0.5584 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.008299, allocations: 0 / 0.5584 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.008394, allocations: 15.98 kB / 0.5585 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.00844, allocations: 7.984 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.008445, allocations: 0 / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.263e-05/0.008487, allocations: 87.59 kB / 0.5585 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.008487, allocations: 0 / 0.5585 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000265/0.008752, allocations: 8 kB / 0.5586 GB, free: 14.03 MB / 0.5261 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.0005318/0.009284, allocations: 0.7279 MB / 0.5593 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000272/0.009556, allocations: 67.92 kB / 0.5593 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009558, allocations: 0 / 0.5593 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.009747, allocations: 35.95 kB / 0.5594 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.01005, allocations: 12.31 kB / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.01052, allocations: 150.5 kB / 0.5595 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.402e-05/0.01057, allocations: 67.28 kB / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.0106, allocations: 4 kB / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.01065, allocations: 20.47 kB / 0.5596 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of SimCode: time 6.32e-07/0.01065, allocations: 0 / 0.5596 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.02745, allocations: 2.311 MB / 0.5619 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.782/6.809, allocations: 6.797 kB / 0.5619 GB, free: 10.7 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.277404173277318] Failed to read output from testmodel.py, exit status != 0: 6.8934357250109315 6.903495226 6.897608439 Calling exit ...