Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",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.0008636/0.0008636, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.005457/0.005457, allocations: 171.5 kB / 16.26 MB, free: 6.676 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8636/0.8636, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002798, allocations: 8 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 82.3 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.307/0.4431, allocations: 59.78 MB / 0.6464 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01296/0.4561, allocations: 11.91 MB / 0.6581 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/0.4585, allocations: 54.5 kB / 0.6581 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.4604, allocations: 0.5488 MB / 0.6587 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004684/0.4651, allocations: 1.802 MB / 0.6604 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.4676, allocations: 1.077 MB / 0.6615 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003943/0.4716, allocations: 3.924 MB / 0.6653 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.4731, allocations: 0.9211 MB / 0.6662 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.4754, allocations: 1.127 MB / 0.6673 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.477, allocations: 0.8602 MB / 0.6682 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002486/0.4773, allocations: 41.94 kB / 0.6682 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.48, allocations: 1.331 MB / 0.6695 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.4804, allocations: 214.9 kB / 0.6697 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.4814, allocations: 0.6382 MB / 0.6703 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.4847, allocations: 2.198 MB / 0.6725 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4847, allocations: 1.766 kB / 0.6725 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4847, allocations: 0 / 0.6725 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.163e-05/0.4847, allocations: 0 / 0.6725 GB, free: 2.215 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00294/0.4877, allocations: 1.517 MB / 0.6739 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4877, allocations: 9.469 kB / 0.674 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.4879, allocations: 123.5 kB / 0.6741 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/0.4901, allocations: 475.7 kB / 0.6745 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.4922, allocations: 1.131 MB / 0.6756 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003527/0.4925, allocations: 133.7 kB / 0.6758 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.4927, allocations: 78.97 kB / 0.6758 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.4948, allocations: 1.032 MB / 0.6768 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.4948, allocations: 1.219 kB / 0.6768 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-05/0.4949, allocations: 31.97 kB / 0.6769 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.495, allocations: 19.66 kB / 0.6769 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.4975, allocations: 0.9622 MB / 0.6778 GB, free: 15.44 MB / 0.5137 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.006454/0.5039, allocations: 4.905 MB / 0.6826 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/0.5075, allocations: 0.9055 MB / 0.6835 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008378/0.5084, allocations: 347 kB / 0.6838 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006116/0.509, allocations: 0.9004 MB / 0.6847 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.509, allocations: 42.05 kB / 0.6848 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.134e-06/0.5091, allocations: 0 / 0.6848 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009261/0.5183, allocations: 2.219 MB / 0.6869 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.5184, allocations: 58.62 kB / 0.687 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.5201, allocations: 1.058 MB / 0.688 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.588e-05/0.5202, allocations: 37.05 kB / 0.688 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.5206, allocations: 0.5324 MB / 0.6886 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.5207, allocations: 158.5 kB / 0.6887 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/0.5208, allocations: 47.31 kB / 0.6888 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5209, allocations: 325.2 kB / 0.6891 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009779/0.5219, allocations: 348.7 kB / 0.6894 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.5231, allocations: 0.5567 MB / 0.69 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.5249, allocations: 0.782 MB / 0.6907 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5249, allocations: 1.031 kB / 0.6907 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002929/0.5279, allocations: 1.081 MB / 0.6918 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.528, allocations: 218.4 kB / 0.692 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.528, allocations: 8.984 kB / 0.692 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.5293, allocations: 335.3 kB / 0.6923 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.5299, allocations: 144.7 kB / 0.6924 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.5314, allocations: 0.9448 MB / 0.6934 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.5328, allocations: 201.8 kB / 0.6936 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.598e-05/0.5329, allocations: 28.97 kB / 0.6936 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.5329, allocations: 5.188 kB / 0.6936 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002575/0.5355, allocations: 0.9576 MB / 0.6945 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5355, allocations: 5.156 kB / 0.6945 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.5366, allocations: 325 kB / 0.6948 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/0.5372, allocations: 139.9 kB / 0.695 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.5386, allocations: 0.9327 MB / 0.6959 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.5399, allocations: 180.5 kB / 0.6961 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.54, allocations: 28.59 kB / 0.6961 GB, free: 5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005963/0.5406, allocations: 353.6 kB / 0.6964 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.5408, allocations: 112.4 kB / 0.6965 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/0.545, allocations: 1.239 MB / 0.6977 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.545, allocations: 7.719 kB / 0.6978 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.5451, allocations: 12.95 kB / 0.6978 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.5451, allocations: 2.953 kB / 0.6978 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005818/0.5509, allocations: 2.338 MB / 0.7 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.5509, allocations: 6.438 kB / 0.7001 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/0.5512, allocations: 71.84 kB / 0.7001 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.5523, allocations: 322.9 kB / 0.7004 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.5523, allocations: 18.25 kB / 0.7004 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.5538, allocations: 0.9704 MB / 0.7014 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.5538, allocations: 10.81 kB / 0.7014 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003949/0.5578, allocations: 1.311 MB / 0.7027 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006311/0.5584, allocations: 281.5 kB / 0.703 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.5587, allocations: 17.03 kB / 0.703 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.5597, allocations: 124 kB / 0.7031 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.239e-05/0.5598, allocations: 44.64 kB / 0.7031 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.5599, allocations: 23.98 kB / 0.7032 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00126/0.5612, allocations: 0.7479 MB / 0.7039 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5612, allocations: 0 / 0.7039 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001816/0.563, allocations: 0.5561 MB / 0.7044 GB, free: 0.8203 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 (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004868/0.5679, allocations: 2.14 MB / 0.7065 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003276/0.5711, allocations: 1.237 MB / 0.7077 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5712, allocations: 0 / 0.7077 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009326/0.5721, allocations: 398.9 kB / 0.7081 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/0.575, allocations: 0.5035 MB / 0.7086 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/0.5946, allocations: 9.361 MB / 0.7177 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006075/0.5952, allocations: 1.065 MB / 0.7188 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001174/0.5964, allocations: 218.6 kB / 0.719 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/0.597, allocations: 419.2 kB / 0.7194 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.597, allocations: 0 / 0.7194 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.554/4.151, allocations: 32.39 MB / 0.751 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004569/4.151, allocations: 285.8 kB / 0.7513 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.942/7.093, allocations: 0 / 0.7513 GB, free: 3.809 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)