Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",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.001342/0.001342, allocations: 100.5 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.001849/0.001849, 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 4.0.0+maint.om/package.mo): time 2.407/2.407, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.832/1.832, allocations: 135.2 MB / 426.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006718/0.0006724, allocations: 8 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.343, allocations: 82.31 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.8337/1.177, allocations: 51.29 MB / 0.6374 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02381/1.201, allocations: 10.3 MB / 0.6474 GB, free: 16.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004658/1.205, allocations: 50.56 kB / 0.6475 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00404/1.21, allocations: 0.6263 MB / 0.6481 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01216/1.222, allocations: 1.937 MB / 0.65 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008119/1.23, allocations: 1.312 MB / 0.6513 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008187/1.238, allocations: 1.856 MB / 0.6531 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003085/1.241, allocations: 0.8044 MB / 0.6539 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005088/1.246, allocations: 0.9817 MB / 0.6548 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002785/1.249, allocations: 0.6069 MB / 0.6554 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006788/1.25, allocations: 42 kB / 0.6554 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006152/1.256, allocations: 1.003 MB / 0.6564 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008304/1.257, allocations: 194.9 kB / 0.6566 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001321/1.258, allocations: 286.5 kB / 0.6569 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005815/1.264, allocations: 1.587 MB / 0.6584 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.264, allocations: 0 / 0.6584 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.138e-06/1.264, allocations: 0 / 0.6584 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000113/1.265, allocations: 5.625 kB / 0.6584 GB, free: 11.19 MB / 0.4981 GB 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.007214/1.272, allocations: 1.482 MB / 0.6599 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.542e-05/1.272, allocations: 8.281 kB / 0.6599 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005606/1.272, allocations: 121.7 kB / 0.66 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004043/1.277, allocations: 383.3 kB / 0.6604 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005485/1.282, allocations: 1.042 MB / 0.6614 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008724/1.283, allocations: 133.1 kB / 0.6615 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005906/1.284, allocations: 82.11 kB / 0.6616 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00574/1.289, allocations: 0.9684 MB / 0.6625 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.279e-05/1.29, allocations: 1.75 kB / 0.6625 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/1.29, allocations: 31.19 kB / 0.6626 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-05/1.29, allocations: 20.38 kB / 0.6626 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00536/1.295, allocations: 0.8458 MB / 0.6634 GB, free: 8.535 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.01512/1.31, allocations: 4.823 MB / 0.6681 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/1.313, allocations: 0.6067 MB / 0.6687 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/1.315, allocations: 1.391 MB / 0.6701 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/1.315, allocations: 41.95 kB / 0.6701 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 7.404e-06/1.315, allocations: 0 / 0.6701 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.01457/1.33, allocations: 2.037 MB / 0.6721 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/1.33, allocations: 59.86 kB / 0.6722 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003684/1.334, allocations: 1.06 MB / 0.6732 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000258/1.334, allocations: 38.11 kB / 0.6732 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007732/1.335, allocations: 0.523 MB / 0.6738 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000363/1.335, allocations: 153 kB / 0.6739 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/1.335, allocations: 10.56 kB / 0.6739 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.335, allocations: 329.5 kB / 0.6742 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/1.337, allocations: 278.9 kB / 0.6745 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/1.338, allocations: 496.2 kB / 0.675 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/1.34, allocations: 324.6 kB / 0.6753 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/1.34, allocations: 1.062 kB / 0.6753 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.006525/1.347, allocations: 1.154 MB / 0.6764 GB, free: 332 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001312/1.348, allocations: 1.572 MB / 0.6779 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/1.348, allocations: 4.125 kB / 0.6779 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/1.35, allocations: 329.5 kB / 0.6783 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009771/1.351, allocations: 114 kB / 0.6784 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/1.354, allocations: 0.9428 MB / 0.6793 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003291/1.358, allocations: 183.4 kB / 0.6795 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/1.358, allocations: 31.3 kB / 0.6795 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/1.358, allocations: 3.875 kB / 0.6795 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007051/1.365, allocations: 1.004 MB / 0.6805 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/1.365, allocations: 5.031 kB / 0.6805 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002554/1.368, allocations: 325.2 kB / 0.6808 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/1.369, allocations: 113.3 kB / 0.6809 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/1.372, allocations: 0.9332 MB / 0.6818 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/1.375, allocations: 158.5 kB / 0.682 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/1.376, allocations: 27.8 kB / 0.682 GB, free: 12.74 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.001483/1.377, allocations: 356.2 kB / 0.6823 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006501/1.378, allocations: 107.1 kB / 0.6824 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007732/1.386, allocations: 1.164 MB / 0.6836 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.294e-05/1.386, allocations: 6.812 kB / 0.6836 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.386, allocations: 0 / 0.6836 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/1.386, allocations: 2.203 kB / 0.6836 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/1.398, allocations: 2.168 MB / 0.6857 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/1.398, allocations: 7.156 kB / 0.6857 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/1.399, allocations: 54.72 kB / 0.6857 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002614/1.401, allocations: 335.8 kB / 0.6861 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/1.401, allocations: 16.67 kB / 0.6861 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003276/1.405, allocations: 0.9635 MB / 0.687 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-05/1.405, allocations: 6.203 kB / 0.687 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008258/1.413, allocations: 1.302 MB / 0.6883 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001954/1.415, allocations: 282.8 kB / 0.6886 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000858/1.416, allocations: 14.45 kB / 0.6886 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002453/1.418, allocations: 109.5 kB / 0.6887 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/1.419, allocations: 39.11 kB / 0.6887 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/1.419, allocations: 23.02 kB / 0.6887 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003897/1.423, allocations: 0.7499 MB / 0.6895 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.513e-06/1.423, allocations: 0 / 0.6895 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005071/1.428, allocations: 0.5634 MB / 0.69 GB, free: 8.895 MB / 0.5137 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 (33): * Single equations (assignments): 28 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01067/1.439, allocations: 2.744 MB / 0.6927 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007424/1.446, allocations: 1.04 MB / 0.6937 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-05/1.446, allocations: 1.188 kB / 0.6937 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/1.449, allocations: 341.5 kB / 0.6941 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006524/1.455, allocations: 497.4 kB / 0.6945 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/1.473, allocations: 5.503 MB / 0.6999 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/1.475, allocations: 1.08 MB / 0.701 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002741/1.478, allocations: 230.4 kB / 0.7012 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/1.48, allocations: 411.7 kB / 0.7016 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of SimCode: time 2.906e-06/1.48, allocations: 1 kB / 0.7016 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1426/1.622, allocations: 33.16 MB / 0.734 GB, free: 5.043 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000554/1.623, allocations: 263.5 kB / 0.7342 GB, free: 4.703 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.093/6.716, allocations: 0 / 0.7342 GB, free: 4.703 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: