Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_Buildings_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.001243/0.001243, allocations: 100 kB / 15.05 MB, free: 1.105 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.001391/0.001391, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006633/0.0006634, allocations: 11.78 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2158, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.05312/0.269, allocations: 63.02 MB / 0.8488 GB, free: 12.7 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.2839, allocations: 12.88 MB / 0.8613 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.2856, allocations: 51.62 kB / 0.8614 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.2877, allocations: 0.7384 MB / 0.8621 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005935/0.2937, allocations: 2.356 MB / 0.8644 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003717/0.2974, allocations: 1.535 MB / 0.8659 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003913/0.3013, allocations: 2.485 MB / 0.8683 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.3027, allocations: 1.033 MB / 0.8694 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001988/0.3047, allocations: 1.164 MB / 0.8705 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.3058, allocations: 0.7973 MB / 0.8713 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.3059, allocations: 56 kB / 0.8713 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/0.3084, allocations: 0.8503 MB / 0.8721 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.3087, allocations: 266.9 kB / 0.8724 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.309, allocations: 356.9 kB / 0.8727 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.311, allocations: 2.022 MB / 0.8747 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.311, allocations: 0 / 0.8747 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.573e-06/0.311, allocations: 0 / 0.8747 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.396e-05/0.3111, allocations: 0 / 0.8747 GB, free: 2.062 MB / 0.6856 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.003499/0.3146, allocations: 1.795 MB / 0.8765 GB, free: 208 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3146, allocations: 8.031 kB / 0.8765 GB, free: 200 kB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.3148, allocations: 155.9 kB / 0.8766 GB, free: 36 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007094/0.3155, allocations: 233.9 kB / 0.8769 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.3177, allocations: 1.373 MB / 0.8782 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/0.3177, allocations: 78 kB / 0.8783 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.3179, allocations: 103.9 kB / 0.8784 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.3196, allocations: 1.108 MB / 0.8794 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.3196, allocations: 0 / 0.8794 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.3197, allocations: 51.98 kB / 0.8795 GB, free: 13 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.3198, allocations: 24 kB / 0.8795 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.3215, allocations: 0.9251 MB / 0.8804 GB, free: 12.06 MB / 0.7012 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.005349/0.3269, allocations: 4.97 MB / 0.8853 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.3282, allocations: 0.6546 MB / 0.8859 GB, free: 6.141 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/0.3288, allocations: 0.8316 MB / 0.8867 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3288, allocations: 39.12 kB / 0.8868 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=62): time 2.324e-06/0.3288, allocations: 0 / 0.8868 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of matching and sorting (n=62): time 0.004554/0.3334, allocations: 1.518 MB / 0.8882 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.3334, allocations: 63.95 kB / 0.8883 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.3349, allocations: 1.245 MB / 0.8895 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.3349, allocations: 37.7 kB / 0.8896 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/0.3354, allocations: 0.6065 MB / 0.8902 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.3356, allocations: 212.8 kB / 0.8904 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.3356, allocations: 16 kB / 0.8904 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.3357, allocations: 338 kB / 0.8907 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/0.3363, allocations: 293.8 kB / 0.891 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007295/0.3371, allocations: 0.4998 MB / 0.8915 GB, free: 120 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006727/0.3377, allocations: 367 kB / 0.8918 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3378, allocations: 3.938 kB / 0.8918 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004763/0.3425, allocations: 1.39 MB / 0.8932 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003749/0.3429, allocations: 1.335 MB / 0.8945 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3429, allocations: 4 kB / 0.8945 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/0.3435, allocations: 168.7 kB / 0.8946 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.3441, allocations: 163.8 kB / 0.8948 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007428/0.3449, allocations: 0.724 MB / 0.8955 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.3459, allocations: 178.2 kB / 0.8957 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/0.346, allocations: 35.94 kB / 0.8957 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.146e-06/0.346, allocations: 10.81 kB / 0.8957 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004663/0.3507, allocations: 1.238 MB / 0.8969 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.3507, allocations: 0 / 0.8969 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006445/0.3514, allocations: 173 kB / 0.8971 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/0.3519, allocations: 163.8 kB / 0.8972 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007708/0.3527, allocations: 0.7242 MB / 0.898 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.3538, allocations: 167.1 kB / 0.8981 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/0.3539, allocations: 31.98 kB / 0.8981 GB, free: 9.121 MB / 0.7169 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 (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.0005762/0.3544, allocations: 420.8 kB / 0.8985 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.3546, allocations: 134.4 kB / 0.8987 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004413/0.359, allocations: 1.404 MB / 0.9 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.3591, allocations: 8 kB / 0.9001 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3591, allocations: 0 / 0.9001 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003818/0.3629, allocations: 1.217 MB / 0.9012 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/0.3664, allocations: 2.372 MB / 0.9036 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3664, allocations: 4.438 kB / 0.9036 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004417/0.3669, allocations: 119.9 kB / 0.9037 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005103/0.3674, allocations: 156.7 kB / 0.9038 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3674, allocations: 23.94 kB / 0.9038 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006933/0.3681, allocations: 0.7194 MB / 0.9046 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.3681, allocations: 4 kB / 0.9046 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002398/0.3705, allocations: 1.664 MB / 0.9062 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004731/0.371, allocations: 351.2 kB / 0.9065 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.3712, allocations: 16 kB / 0.9065 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/0.372, allocations: 92.12 kB / 0.9066 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3721, allocations: 60.27 kB / 0.9067 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.3722, allocations: 31.98 kB / 0.9067 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001012/0.3732, allocations: 0.905 MB / 0.9076 GB, free: 15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3732, allocations: 0 / 0.9076 GB, free: 15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001522/0.3747, allocations: 0.7135 MB / 0.9083 GB, free: 14.29 MB / 0.7325 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.003904/0.3786, allocations: 3.472 MB / 0.9117 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002473/0.3811, allocations: 1.164 MB / 0.9128 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3811, allocations: 8.125 kB / 0.9128 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000871/0.382, allocations: 411.1 kB / 0.9132 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/0.3849, allocations: 0.7519 MB / 0.9139 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.3895, allocations: 5.787 MB / 0.9196 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.3901, allocations: 1.199 MB / 0.9208 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009516/0.3911, allocations: 311 kB / 0.9211 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005531/0.3916, allocations: 0.5032 MB / 0.9216 GB, free: 412 kB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.3916, allocations: 0 / 0.9216 GB, free: 412 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.717/3.109, allocations: 42.11 MB / 0.9627 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/3.109, allocations: 251.8 kB / 0.9629 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.656/6.766, allocations: 0 / 0.9629 GB, free: 115.4 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: