Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon",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.005257/0.005258, allocations: 107.5 kB / 15.74 MB, free: 6.035 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.001174/0.001174, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7556/0.7556, allocations: 132.2 MB / 422.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 71.91 kB / 0.5809 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3874, allocations: 80.19 MB / 0.6592 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05549/0.4429, allocations: 61.17 MB / 0.7189 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01755/0.4605, allocations: 11.98 MB / 0.7306 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002291/0.4629, allocations: 59.62 kB / 0.7307 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002002/0.4649, allocations: 0.6752 MB / 0.7313 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005456/0.4704, allocations: 1.963 MB / 0.7332 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.4733, allocations: 1.21 MB / 0.7344 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003804/0.4771, allocations: 3.075 MB / 0.7374 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.4785, allocations: 1.1 MB / 0.7385 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/0.4815, allocations: 1.361 MB / 0.7398 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.4829, allocations: 0.9023 MB / 0.7407 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.483, allocations: 112 kB / 0.7408 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.4859, allocations: 1.435 MB / 0.7422 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003267/0.4862, allocations: 290.9 kB / 0.7425 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009038/0.4871, allocations: 0.692 MB / 0.7432 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003251/0.4904, allocations: 2.302 MB / 0.7454 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4904, allocations: 0 / 0.7454 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4904, allocations: 4 kB / 0.7454 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.117e-05/0.4904, allocations: 0 / 0.7454 GB, free: 13.59 MB / 0.5762 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.002871/0.4933, allocations: 1.73 MB / 0.7471 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4934, allocations: 8.031 kB / 0.7471 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/0.4935, allocations: 118.9 kB / 0.7472 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.4956, allocations: 410.4 kB / 0.7476 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.4978, allocations: 1.163 MB / 0.7488 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/0.4978, allocations: 66 kB / 0.7488 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.498, allocations: 80 kB / 0.7489 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.4999, allocations: 0.9975 MB / 0.7499 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4999, allocations: 0 / 0.7499 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/0.5, allocations: 36 kB / 0.7499 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.5, allocations: 20 kB / 0.7499 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.502, allocations: 0.8585 MB / 0.7508 GB, free: 7.922 MB / 0.5762 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.006442/0.5085, allocations: 5.232 MB / 0.7559 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.5117, allocations: 0.7816 MB / 0.7566 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006573/0.5124, allocations: 304.6 kB / 0.7569 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006615/0.513, allocations: 0.9024 MB / 0.7578 GB, free: 128 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.5131, allocations: 38.56 kB / 0.7579 GB, free: 80 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.405e-06/0.5131, allocations: 0 / 0.7579 GB, free: 80 kB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007693/0.5208, allocations: 1.841 MB / 0.7597 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.5208, allocations: 63.34 kB / 0.7597 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.5224, allocations: 1.076 MB / 0.7608 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.944e-05/0.5225, allocations: 37.7 kB / 0.7608 GB, free: 13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/0.5229, allocations: 0.5349 MB / 0.7613 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.5231, allocations: 149.8 kB / 0.7615 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.5233, allocations: 134.2 kB / 0.7616 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5234, allocations: 329.9 kB / 0.7619 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007825/0.5242, allocations: 311.3 kB / 0.7622 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009863/0.5252, allocations: 0.5385 MB / 0.7627 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.5267, allocations: 0.7133 MB / 0.7634 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.5268, allocations: 0 / 0.7634 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002483/0.5292, allocations: 1.012 MB / 0.7644 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5293, allocations: 10.02 kB / 0.7644 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.5293, allocations: 11.98 kB / 0.7644 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.5305, allocations: 304.7 kB / 0.7647 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/0.531, allocations: 123.8 kB / 0.7648 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.5324, allocations: 0.9034 MB / 0.7657 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.5335, allocations: 155.2 kB / 0.7659 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-05/0.5336, allocations: 31.98 kB / 0.7659 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00113/0.5348, allocations: 0.5051 MB / 0.7664 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009993/0.5358, allocations: 0.5307 MB / 0.7669 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001509/0.5373, allocations: 0.7063 MB / 0.7676 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.332e-06/0.5373, allocations: 4 kB / 0.7676 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002518/0.5398, allocations: 1.012 MB / 0.7686 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.5399, allocations: 4 kB / 0.7686 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.5399, allocations: 8 kB / 0.7686 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.5409, allocations: 303.9 kB / 0.7689 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005226/0.5414, allocations: 127.8 kB / 0.769 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.5427, allocations: 0.8918 MB / 0.7699 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.5439, allocations: 135.5 kB / 0.77 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.544, allocations: 39.98 kB / 0.7701 GB, free: 3.074 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0002161/0.5442, allocations: 220.1 kB / 0.7703 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.5444, allocations: 114.6 kB / 0.7704 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/0.5479, allocations: 1.085 MB / 0.7714 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.5479, allocations: 4 kB / 0.7714 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5479, allocations: 0 / 0.7714 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.5479, allocations: 3.984 kB / 0.7714 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00474/0.5527, allocations: 2.151 MB / 0.7735 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.5527, allocations: 7.938 kB / 0.7736 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.553, allocations: 59.89 kB / 0.7736 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008771/0.5539, allocations: 292.9 kB / 0.7739 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.5539, allocations: 16 kB / 0.7739 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.5552, allocations: 0.9294 MB / 0.7748 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5552, allocations: 4.031 kB / 0.7748 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/0.5584, allocations: 1.152 MB / 0.7759 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.5589, allocations: 259.5 kB / 0.7762 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.559, allocations: 16 kB / 0.7762 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007962/0.5598, allocations: 71.91 kB / 0.7763 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.5599, allocations: 43.83 kB / 0.7763 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.56, allocations: 23.98 kB / 0.7763 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001155/0.5612, allocations: 0.7512 MB / 0.7771 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5612, allocations: 0 / 0.7771 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001533/0.5627, allocations: 0.5692 MB / 0.7776 GB, free: 11.11 MB / 0.6075 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 (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.004176/0.5669, allocations: 1.966 MB / 0.7795 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003/0.5699, allocations: 1.124 MB / 0.7806 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5699, allocations: 4 kB / 0.7806 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00082/0.5707, allocations: 342.9 kB / 0.781 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.5729, allocations: 0.4978 MB / 0.7815 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.5886, allocations: 8.247 MB / 0.7895 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.5892, allocations: 1.061 MB / 0.7906 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008418/0.5901, allocations: 232.2 kB / 0.7908 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/0.5906, allocations: 407.3 kB / 0.7912 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/0.5906, allocations: 0 / 0.7912 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06578/0.6564, allocations: 34.24 MB / 0.8246 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.5, allocations: 11.56 kB / 0.8246 GB, free: 11.07 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)