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: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 102.7 kB / 16.4 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001775, allocations: 192.8 kB / 17.34 MB, free: 5.703 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7158/0.7158, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 62.92 kB / 0.5577 GB, free: 32.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1798, allocations: 76.18 MB / 0.6321 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07442/0.2543, allocations: 75.19 MB / 0.7055 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0222/0.2765, allocations: 15.16 MB / 0.7203 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003417/0.28, allocations: 67.62 kB / 0.7204 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00268/0.2827, allocations: 0.8579 MB / 0.7212 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008041/0.2908, allocations: 2.72 MB / 0.7239 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004061/0.2949, allocations: 1.405 MB / 0.7253 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007042/0.3019, allocations: 4.404 MB / 0.7296 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00301/0.305, allocations: 1.441 MB / 0.731 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004672/0.3097, allocations: 1.686 MB / 0.7326 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/0.3124, allocations: 1.217 MB / 0.7338 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006537/0.3131, allocations: 164 kB / 0.734 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004131/0.3172, allocations: 1.431 MB / 0.7354 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008358/0.3181, allocations: 394.6 kB / 0.7357 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002194/0.3203, allocations: 0.9021 MB / 0.7366 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006243/0.3266, allocations: 2.879 MB / 0.7394 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3266, allocations: 0 / 0.7394 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3266, allocations: 0 / 0.7394 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.564e-05/0.3267, allocations: 0 / 0.7394 GB, free: 6.078 MB / 0.5762 GB 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.005655/0.3324, allocations: 2.085 MB / 0.7415 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.3324, allocations: 8.031 kB / 0.7415 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.3336, allocations: 234.8 kB / 0.7417 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00415/0.3378, allocations: 1.521 MB / 0.7432 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.3379, allocations: 78 kB / 0.7433 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003964/0.3383, allocations: 104 kB / 0.7434 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.3413, allocations: 1.1 MB / 0.7444 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.3414, allocations: 8 kB / 0.7444 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.3415, allocations: 36 kB / 0.7445 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.3415, allocations: 24 kB / 0.7445 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4226/0.7641, allocations: 0.8979 MB / 0.7454 GB, free: 110.9 MB / 0.5762 GB 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.01005/0.7742, allocations: 4.902 MB / 0.7502 GB, free: 108 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.7758, allocations: 0.6194 MB / 0.7508 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008125/0.7766, allocations: 356 kB / 0.7511 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005207/0.7772, allocations: 0.8344 MB / 0.7519 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.7772, allocations: 39.28 kB / 0.752 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.985e-06/0.7772, allocations: 1.656 kB / 0.752 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.005181/0.7824, allocations: 1.4 MB / 0.7533 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.7825, allocations: 62.38 kB / 0.7534 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.7844, allocations: 1.224 MB / 0.7546 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-05/0.7845, allocations: 46.98 kB / 0.7546 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004894/0.785, allocations: 0.6038 MB / 0.7552 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.7852, allocations: 218.6 kB / 0.7554 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.7855, allocations: 161 kB / 0.7556 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.54e-05/0.7856, allocations: 332.8 kB / 0.7559 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/0.7863, allocations: 289 kB / 0.7562 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000849/0.7872, allocations: 496.2 kB / 0.7566 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.7885, allocations: 0.7097 MB / 0.7573 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.7886, allocations: 0 / 0.7573 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004834/0.7934, allocations: 1.268 MB / 0.7586 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.7934, allocations: 6.719 kB / 0.7586 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.7935, allocations: 4.734 kB / 0.7586 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000806/0.7943, allocations: 159 kB / 0.7587 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/0.7949, allocations: 153.8 kB / 0.7589 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008737/0.7958, allocations: 0.7151 MB / 0.7596 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.7972, allocations: 117.1 kB / 0.7597 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.7974, allocations: 33.31 kB / 0.7597 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001695/0.7991, allocations: 0.5581 MB / 0.7603 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001009/0.8001, allocations: 493.7 kB / 0.7607 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001443/0.8015, allocations: 0.7004 MB / 0.7614 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.8015, allocations: 1.125 kB / 0.7614 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004878/0.8064, allocations: 1.268 MB / 0.7627 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.8065, allocations: 7.219 kB / 0.7627 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.8065, allocations: 3.406 kB / 0.7627 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006682/0.8071, allocations: 154.3 kB / 0.7628 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.8078, allocations: 156.3 kB / 0.763 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007213/0.8085, allocations: 0.7107 MB / 0.7637 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.8096, allocations: 105.8 kB / 0.7638 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.8097, allocations: 30.59 kB / 0.7638 GB, free: 100.7 MB / 0.5762 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000293/0.81, allocations: 229.3 kB / 0.764 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.8103, allocations: 135.5 kB / 0.7641 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/0.8148, allocations: 1.255 MB / 0.7654 GB, free: 99.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.8149, allocations: 7.312 kB / 0.7654 GB, free: 99.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.8149, allocations: 3.938 kB / 0.7654 GB, free: 99.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004/0.8189, allocations: 1.088 MB / 0.7664 GB, free: 99.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.8227, allocations: 2.318 MB / 0.7687 GB, free: 97.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.8227, allocations: 9.906 kB / 0.7687 GB, free: 97.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.8232, allocations: 110.6 kB / 0.7688 GB, free: 97.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005374/0.8237, allocations: 147.4 kB / 0.769 GB, free: 97.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.8238, allocations: 21.61 kB / 0.769 GB, free: 97.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006595/0.8244, allocations: 0.7031 MB / 0.7697 GB, free: 96.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.8244, allocations: 4.125 kB / 0.7697 GB, free: 96.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.8269, allocations: 1.403 MB / 0.771 GB, free: 95.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.8273, allocations: 307.8 kB / 0.7713 GB, free: 95.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.8275, allocations: 19.92 kB / 0.7714 GB, free: 95.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007584/0.8282, allocations: 55.72 kB / 0.7714 GB, free: 95.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.8283, allocations: 55.69 kB / 0.7715 GB, free: 95.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.8284, allocations: 35.52 kB / 0.7715 GB, free: 95.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009815/0.8294, allocations: 0.8811 MB / 0.7724 GB, free: 95.15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8294, allocations: 4 kB / 0.7724 GB, free: 95.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001613/0.831, allocations: 0.7155 MB / 0.7731 GB, free: 95.02 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007486/0.8318, allocations: 465.7 kB / 0.7735 GB, free: 94.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.834, allocations: 1.125 MB / 0.7746 GB, free: 94.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8341, allocations: 0 / 0.7746 GB, free: 94.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007951/0.8349, allocations: 401.6 kB / 0.775 GB, free: 94.14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.8379, allocations: 0.8027 MB / 0.7758 GB, free: 93.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.841, allocations: 2.279 MB / 0.778 GB, free: 92.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.8414, allocations: 1.172 MB / 0.7791 GB, free: 90.85 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009527/0.8424, allocations: 310.3 kB / 0.7794 GB, free: 90.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.8426, allocations: 107.4 kB / 0.7795 GB, free: 90.45 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.8426, allocations: 0 / 0.7795 GB, free: 90.45 MB / 0.5762 GB Notification: Performance of Templates: time 0.04162/0.8842, allocations: 32.23 MB / 0.811 GB, free: 58.6 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)