Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_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.0007887/0.0007887, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0008689/0.0008689, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 240 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7545/0.7545, allocations: 132.3 MB / 423.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 12 kB / 0.5035 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4915, allocations: 81.57 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06393/0.5556, allocations: 56.51 MB / 0.6383 GB, free: 7.949 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01696/0.5726, allocations: 11.21 MB / 0.6493 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.5747, allocations: 51.69 kB / 0.6493 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.5764, allocations: 468.8 kB / 0.6498 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.5808, allocations: 1.519 MB / 0.6513 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.5835, allocations: 0.8678 MB / 0.6521 GB, free: 9.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004459/0.588, allocations: 3.39 MB / 0.6554 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.5893, allocations: 0.7899 MB / 0.6562 GB, free: 5.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.5918, allocations: 1.046 MB / 0.6572 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.5929, allocations: 0.805 MB / 0.658 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.5931, allocations: 40 kB / 0.658 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.5958, allocations: 1.107 MB / 0.6591 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.596, allocations: 199 kB / 0.6593 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004192/0.5965, allocations: 289 kB / 0.6596 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.5986, allocations: 1.637 MB / 0.6612 GB, free: 496 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5986, allocations: 4 kB / 0.6612 GB, free: 492 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5986, allocations: 0 / 0.6612 GB, free: 492 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.5986, allocations: 0 / 0.6612 GB, free: 492 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00298/0.6016, allocations: 1.501 MB / 0.6626 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.6017, allocations: 12.02 kB / 0.6627 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.6018, allocations: 118.7 kB / 0.6628 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.6037, allocations: 477.8 kB / 0.6632 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.6057, allocations: 1.093 MB / 0.6643 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.606, allocations: 129.9 kB / 0.6644 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.6062, allocations: 80 kB / 0.6645 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.608, allocations: 0.9973 MB / 0.6655 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.6081, allocations: 4 kB / 0.6655 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.366e-05/0.6081, allocations: 32 kB / 0.6655 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.6082, allocations: 16 kB / 0.6655 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.6103, allocations: 0.9211 MB / 0.6664 GB, free: 10.95 MB / 0.4981 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.005988/0.6163, allocations: 4.902 MB / 0.6712 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/0.6192, allocations: 0.8945 MB / 0.6721 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006529/0.6199, allocations: 324.7 kB / 0.6724 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000659/0.6206, allocations: 0.9025 MB / 0.6733 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.6206, allocations: 46.5 kB / 0.6733 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.595e-06/0.6206, allocations: 0 / 0.6733 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.007323/0.6279, allocations: 2.161 MB / 0.6754 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.628, allocations: 63.41 kB / 0.6755 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.6295, allocations: 1.044 MB / 0.6765 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.566e-05/0.6296, allocations: 37.7 kB / 0.6765 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.63, allocations: 0.5235 MB / 0.677 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.6302, allocations: 153.8 kB / 0.6772 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.6302, allocations: 12 kB / 0.6772 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6303, allocations: 322 kB / 0.6775 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007791/0.6311, allocations: 320.9 kB / 0.6778 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009312/0.6321, allocations: 0.5332 MB / 0.6783 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/0.6329, allocations: 351.5 kB / 0.6787 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.6329, allocations: 4 kB / 0.6787 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002377/0.6353, allocations: 1.039 MB / 0.6797 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.6355, allocations: 208.2 kB / 0.6799 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6355, allocations: 4 kB / 0.6799 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.6367, allocations: 336.7 kB / 0.6802 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.6372, allocations: 131.8 kB / 0.6803 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.6385, allocations: 0.9374 MB / 0.6813 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.6397, allocations: 195.2 kB / 0.6814 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.6398, allocations: 31.94 kB / 0.6815 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.6398, allocations: 7.953 kB / 0.6815 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002156/0.642, allocations: 0.9098 MB / 0.6824 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.642, allocations: 4 kB / 0.6824 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009548/0.643, allocations: 329 kB / 0.6827 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.6434, allocations: 131.8 kB / 0.6828 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.6447, allocations: 0.927 MB / 0.6837 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.6457, allocations: 171.4 kB / 0.6839 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/0.6458, allocations: 27.98 kB / 0.6839 GB, free: 8.156 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005328/0.6463, allocations: 356.9 kB / 0.6842 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.6465, allocations: 114.6 kB / 0.6844 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/0.6498, allocations: 1.201 MB / 0.6855 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.6499, allocations: 11.98 kB / 0.6855 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.6499, allocations: 3.953 kB / 0.6855 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.6499, allocations: 3.984 kB / 0.6856 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004579/0.6545, allocations: 2.281 MB / 0.6878 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.6545, allocations: 0 / 0.6878 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.6548, allocations: 75.83 kB / 0.6879 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009538/0.6557, allocations: 326.6 kB / 0.6882 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.6558, allocations: 15.98 kB / 0.6882 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.6571, allocations: 0.9659 MB / 0.6891 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6571, allocations: 4.062 kB / 0.6891 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/0.6603, allocations: 1.283 MB / 0.6904 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.6608, allocations: 287.4 kB / 0.6907 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.6609, allocations: 12 kB / 0.6907 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/0.6618, allocations: 115.8 kB / 0.6908 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.672e-05/0.6619, allocations: 39.84 kB / 0.6908 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/0.6619, allocations: 23.98 kB / 0.6908 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001196/0.6631, allocations: 0.735 MB / 0.6916 GB, free: 124 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6632, allocations: 0 / 0.6916 GB, free: 124 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001719/0.6649, allocations: 0.5575 MB / 0.6921 GB, free: 15.56 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004297/0.6692, allocations: 2.104 MB / 0.6942 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002879/0.6721, allocations: 1.164 MB / 0.6953 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6721, allocations: 64 / 0.6953 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008098/0.6729, allocations: 374.3 kB / 0.6956 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.6751, allocations: 0.4901 MB / 0.6961 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.6895, allocations: 6.881 MB / 0.7028 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.6902, allocations: 1.065 MB / 0.7039 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001014/0.6912, allocations: 228.4 kB / 0.7041 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005176/0.6917, allocations: 415.3 kB / 0.7045 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.6917, allocations: 0 / 0.7045 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05533/0.7471, allocations: 33.42 MB / 0.7371 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.7473, allocations: 258.4 kB / 0.7374 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.199, allocations: 2.844 kB / 0.7374 GB, free: 1.266 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: