Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 176.2 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6487/0.6487, allocations: 113.7 MB / 405.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003198, allocations: 9.219 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1537, allocations: 77.11 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3923/0.546, allocations: 62.96 MB / 0.6182 GB, free: 364 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01905/0.5651, allocations: 13 MB / 0.6309 GB, free: 7.121 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.5676, allocations: 53.16 kB / 0.6309 GB, free: 7.098 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002678/0.5703, allocations: 0.7438 MB / 0.6317 GB, free: 6.676 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008302/0.5786, allocations: 2.408 MB / 0.634 GB, free: 4.953 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004761/0.5834, allocations: 1.536 MB / 0.6355 GB, free: 3.938 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00532/0.5887, allocations: 2.503 MB / 0.638 GB, free: 2.285 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/0.591, allocations: 1.04 MB / 0.639 GB, free: 1.652 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/0.5939, allocations: 1.174 MB / 0.6401 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.5957, allocations: 0.7891 MB / 0.6409 GB, free: 472 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002941/0.596, allocations: 53.81 kB / 0.641 GB, free: 472 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.5989, allocations: 0.8475 MB / 0.6418 GB, free: 116 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004365/0.5993, allocations: 266 kB / 0.642 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007424/0.6001, allocations: 364 kB / 0.6424 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003073/0.6031, allocations: 2.023 MB / 0.6444 GB, free: 14.31 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6032, allocations: 0 / 0.6444 GB, free: 14.31 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6032, allocations: 0 / 0.6444 GB, free: 14.31 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.639e-05/0.6032, allocations: 0 / 0.6444 GB, free: 14.31 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004343/0.6076, allocations: 1.794 MB / 0.6461 GB, free: 12.95 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.6077, allocations: 13.23 kB / 0.6461 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002664/0.6079, allocations: 147.5 kB / 0.6463 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007997/0.6087, allocations: 240.7 kB / 0.6465 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.6112, allocations: 1.378 MB / 0.6478 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.6112, allocations: 82.78 kB / 0.6479 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.6114, allocations: 103.1 kB / 0.648 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.6133, allocations: 1.11 MB / 0.6491 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.6133, allocations: 1.094 kB / 0.6491 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.243e-05/0.6134, allocations: 37.38 kB / 0.6491 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-05/0.6134, allocations: 29.66 kB / 0.6492 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.6153, allocations: 0.9275 MB / 0.6501 GB, free: 10.36 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006539/0.6218, allocations: 4.954 MB / 0.6549 GB, free: 5.113 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.6233, allocations: 0.6516 MB / 0.6555 GB, free: 4.453 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006055/0.6239, allocations: 0.8277 MB / 0.6564 GB, free: 3.441 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.624, allocations: 47.08 kB / 0.6564 GB, free: 3.387 MB / 478.1 MB Notification: Performance of pre-optimization done (n=62): time 2.265e-06/0.624, allocations: 0 / 0.6564 GB, free: 3.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=62): time 0.004763/0.6287, allocations: 1.511 MB / 0.6579 GB, free: 1.852 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.6288, allocations: 63.91 kB / 0.6579 GB, free: 1.777 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.6303, allocations: 1.249 MB / 0.6592 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.818e-05/0.6304, allocations: 45.7 kB / 0.6592 GB, free: 472 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004713/0.6309, allocations: 0.599 MB / 0.6598 GB, free: 15.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.631, allocations: 216.8 kB / 0.66 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.6311, allocations: 16 kB / 0.66 GB, free: 15.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6312, allocations: 330 kB / 0.6603 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/0.6318, allocations: 301.8 kB / 0.6606 GB, free: 15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007674/0.6326, allocations: 0.4966 MB / 0.6611 GB, free: 14.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/0.6333, allocations: 359 kB / 0.6614 GB, free: 14.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6333, allocations: 0 / 0.6614 GB, free: 14.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004349/0.6377, allocations: 1.39 MB / 0.6628 GB, free: 12.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004875/0.6382, allocations: 1.339 MB / 0.6641 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6382, allocations: 4 kB / 0.6641 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/0.6388, allocations: 156.7 kB / 0.6643 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/0.6394, allocations: 163.8 kB / 0.6644 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008029/0.6402, allocations: 0.7279 MB / 0.6651 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.6413, allocations: 178.9 kB / 0.6653 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/0.6414, allocations: 35.98 kB / 0.6653 GB, free: 9.973 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/0.6414, allocations: 4 kB / 0.6653 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004111/0.6455, allocations: 1.242 MB / 0.6665 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6455, allocations: 4 kB / 0.6665 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005159/0.646, allocations: 161 kB / 0.6667 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005468/0.6466, allocations: 163.8 kB / 0.6669 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000761/0.6474, allocations: 0.7305 MB / 0.6676 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/0.6484, allocations: 165.6 kB / 0.6677 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.6484, allocations: 35.98 kB / 0.6678 GB, free: 7.449 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005518/0.649, allocations: 413 kB / 0.6682 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.6492, allocations: 134.3 kB / 0.6683 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004465/0.6536, allocations: 1.394 MB / 0.6696 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.6537, allocations: 8 kB / 0.6697 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.6537, allocations: 0 / 0.6697 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004115/0.6578, allocations: 1.217 MB / 0.6708 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004454/0.6623, allocations: 2.384 MB / 0.6732 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.6623, allocations: 7.938 kB / 0.6732 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/0.6628, allocations: 128.2 kB / 0.6733 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005734/0.6634, allocations: 144.7 kB / 0.6734 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.6634, allocations: 19.98 kB / 0.6735 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008588/0.6643, allocations: 0.7172 MB / 0.6742 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6643, allocations: 8.062 kB / 0.6742 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00294/0.6673, allocations: 1.66 MB / 0.6758 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008033/0.6681, allocations: 351 kB / 0.6761 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.6683, allocations: 15.98 kB / 0.6761 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008862/0.6692, allocations: 107.5 kB / 0.6762 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.6693, allocations: 52.27 kB / 0.6763 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.914e-05/0.6693, allocations: 31.98 kB / 0.6763 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001291/0.6706, allocations: 0.8974 MB / 0.6772 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6707, allocations: 4 kB / 0.6772 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001901/0.6726, allocations: 0.7135 MB / 0.6779 GB, free: 12.63 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004125/0.6767, allocations: 3.468 MB / 0.6813 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002529/0.6792, allocations: 1.172 MB / 0.6824 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6793, allocations: 0 / 0.6824 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008962/0.6802, allocations: 415.3 kB / 0.6828 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/0.6835, allocations: 0.7348 MB / 0.6835 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006/0.6895, allocations: 5.806 MB / 0.6892 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007846/0.6903, allocations: 1.2 MB / 0.6904 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001175/0.6915, allocations: 310.9 kB / 0.6907 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006414/0.6921, allocations: 0.5187 MB / 0.6912 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.6922, allocations: 0 / 0.6912 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3974/1.09, allocations: 41.89 MB / 0.7321 GB, free: 5.371 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/1.09, allocations: 248.3 kB / 0.7323 GB, free: 5.066 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.819/4.909, allocations: 0 / 0.7323 GB, free: 5.066 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: