Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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.00103/0.00103, allocations: 90.52 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.006604/0.006604, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.229/1.229, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8475/0.8475, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002694, allocations: 15.98 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1273, allocations: 82.31 MB / 0.5881 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.2679/0.3952, allocations: 59.73 MB / 0.6464 GB, free: 17.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.4053, allocations: 11.91 MB / 0.658 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008628/0.4062, allocations: 52.84 kB / 0.6581 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009576/0.4071, allocations: 0.5451 MB / 0.6586 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.4098, allocations: 1.801 MB / 0.6604 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.4115, allocations: 1.08 MB / 0.6614 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002481/0.414, allocations: 3.9 MB / 0.6652 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000979/0.415, allocations: 0.9146 MB / 0.6661 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.4164, allocations: 1.117 MB / 0.6672 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008457/0.4173, allocations: 0.8756 MB / 0.6681 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.4174, allocations: 42.97 kB / 0.6681 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.4192, allocations: 1.326 MB / 0.6694 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.4194, allocations: 216.5 kB / 0.6696 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004895/0.4199, allocations: 0.6353 MB / 0.6702 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.4221, allocations: 2.21 MB / 0.6724 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4221, allocations: 5.094 kB / 0.6724 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4221, allocations: 0 / 0.6724 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.4221, allocations: 0 / 0.6724 GB, free: 2.266 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.002175/0.4243, allocations: 1.491 MB / 0.6739 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.4244, allocations: 9.688 kB / 0.6739 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.4245, allocations: 126.7 kB / 0.674 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.4269, allocations: 0.515 MB / 0.6745 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.4285, allocations: 1.14 MB / 0.6756 GB, free: 348 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003354/0.4289, allocations: 127.3 kB / 0.6757 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.429, allocations: 83.84 kB / 0.6758 GB, free: 288 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.431, allocations: 1.035 MB / 0.6768 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.431, allocations: 0.9375 kB / 0.6768 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.4311, allocations: 31.41 kB / 0.6768 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.4311, allocations: 19.75 kB / 0.6769 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.4337, allocations: 1.011 MB / 0.6779 GB, free: 15.5 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.005377/0.439, allocations: 4.712 MB / 0.6825 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004077/0.4431, allocations: 1.133 MB / 0.6836 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.4442, allocations: 444 kB / 0.684 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008301/0.445, allocations: 1.03 MB / 0.685 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.4451, allocations: 38.47 kB / 0.685 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 1.793e-06/0.4451, allocations: 1 kB / 0.685 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.009402/0.4545, allocations: 2.505 MB / 0.6875 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.4545, allocations: 58.53 kB / 0.6875 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.4557, allocations: 0.9376 MB / 0.6884 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/0.4557, allocations: 37.98 kB / 0.6885 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/0.4561, allocations: 0.4961 MB / 0.689 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.4562, allocations: 187.1 kB / 0.6891 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.132e-05/0.4563, allocations: 57.88 kB / 0.6892 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.4564, allocations: 324.6 kB / 0.6895 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.4575, allocations: 382.9 kB / 0.6899 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.4586, allocations: 0.5499 MB / 0.6904 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.4607, allocations: 0.8229 MB / 0.6912 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.4607, allocations: 1.25 kB / 0.6912 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002829/0.4635, allocations: 1.137 MB / 0.6923 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.856e-05/0.4636, allocations: 162 kB / 0.6925 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4637, allocations: 2.922 kB / 0.6925 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.4649, allocations: 329.5 kB / 0.6928 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006258/0.4655, allocations: 142.1 kB / 0.6929 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.4669, allocations: 0.9387 MB / 0.6939 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.468, allocations: 181.6 kB / 0.694 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/0.4681, allocations: 28.3 kB / 0.6941 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/0.4681, allocations: 3.875 kB / 0.6941 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002597/0.4707, allocations: 1.004 MB / 0.695 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4707, allocations: 6.938 kB / 0.695 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.4717, allocations: 322.3 kB / 0.6953 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.4723, allocations: 149.7 kB / 0.6955 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.4737, allocations: 0.9383 MB / 0.6964 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009419/0.4746, allocations: 168.9 kB / 0.6966 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/0.4747, allocations: 32.22 kB / 0.6966 GB, free: 5.121 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.000381/0.4751, allocations: 348.5 kB / 0.6969 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.4752, allocations: 110.4 kB / 0.697 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/0.4796, allocations: 1.448 MB / 0.6985 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.4797, allocations: 9.938 kB / 0.6985 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4797, allocations: 0 / 0.6985 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4797, allocations: 2.484 kB / 0.6985 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005429/0.4851, allocations: 2.524 MB / 0.7009 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4851, allocations: 6.531 kB / 0.7009 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005251/0.4857, allocations: 116.8 kB / 0.701 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009437/0.4866, allocations: 323.6 kB / 0.7014 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.4867, allocations: 18.92 kB / 0.7014 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.488, allocations: 0.9711 MB / 0.7023 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.488, allocations: 2.625 kB / 0.7023 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004061/0.4921, allocations: 1.453 MB / 0.7037 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.4925, allocations: 297.8 kB / 0.704 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.4926, allocations: 13.84 kB / 0.704 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008886/0.4935, allocations: 120.9 kB / 0.7042 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.4936, allocations: 37.39 kB / 0.7042 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.125e-05/0.4936, allocations: 23.45 kB / 0.7042 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007311/0.4944, allocations: 0.664 MB / 0.7049 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4944, allocations: 0 / 0.7049 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001287/0.4957, allocations: 0.5726 MB / 0.7054 GB, free: 0.6289 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004906/0.5006, allocations: 2.284 MB / 0.7077 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003327/0.5039, allocations: 1.392 MB / 0.709 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5039, allocations: 0 / 0.709 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.5051, allocations: 496.1 kB / 0.7095 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/0.5075, allocations: 0.4939 MB / 0.71 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/0.5243, allocations: 9.305 MB / 0.7191 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.5248, allocations: 1.074 MB / 0.7201 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008436/0.5257, allocations: 234.9 kB / 0.7203 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/0.5262, allocations: 423.3 kB / 0.7207 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.5262, allocations: 0 / 0.7207 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.971/6.498, allocations: 31.62 MB / 0.7516 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/6.498, allocations: 278 kB / 0.7519 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.603/10.1, allocations: 0 / 0.7519 GB, free: 3.391 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)