Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Carnot_TCon,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IDEAS_dev_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.001454/0.001454, allocations: 99.62 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.00207/0.00207, allocations: 177.3 kB / 15.95 MB, free: 216 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.589/2.589, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.715/1.715, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005975/0.0005977, allocations: 12 kB / 0.5069 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2917, allocations: 82.32 MB / 0.5873 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.5816/0.8735, allocations: 51.25 MB / 0.6373 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02243/0.896, allocations: 10.31 MB / 0.6474 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003796/0.8998, allocations: 49.66 kB / 0.6474 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003046/0.9029, allocations: 0.6274 MB / 0.6481 GB, free: 16.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009215/0.9122, allocations: 1.943 MB / 0.65 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005702/0.9179, allocations: 1.312 MB / 0.6512 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005238/0.9232, allocations: 1.848 MB / 0.653 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.9252, allocations: 0.8153 MB / 0.6538 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/0.9289, allocations: 0.9862 MB / 0.6548 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.9309, allocations: 0.5953 MB / 0.6554 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.9312, allocations: 39.38 kB / 0.6554 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.9349, allocations: 0.9897 MB / 0.6564 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00039/0.9353, allocations: 199.6 kB / 0.6566 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008031/0.9361, allocations: 285.2 kB / 0.6569 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003878/0.94, allocations: 1.568 MB / 0.6584 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.9401, allocations: 0 / 0.6584 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.467e-06/0.9401, allocations: 8.938 kB / 0.6584 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.944e-05/0.9402, allocations: 0 / 0.6584 GB, free: 11.3 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.004745/0.9449, allocations: 1.477 MB / 0.6598 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/0.945, allocations: 12.84 kB / 0.6598 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003997/0.9454, allocations: 124.2 kB / 0.66 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003663/0.9491, allocations: 468.9 kB / 0.6604 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003833/0.953, allocations: 1.049 MB / 0.6614 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006097/0.9536, allocations: 128.9 kB / 0.6616 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002768/0.9539, allocations: 82.89 kB / 0.6616 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00361/0.9575, allocations: 0.9972 MB / 0.6626 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.9576, allocations: 0.6562 kB / 0.6626 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.9577, allocations: 35.91 kB / 0.6626 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/0.9578, allocations: 19.44 kB / 0.6627 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004038/0.9618, allocations: 0.9101 MB / 0.6636 GB, free: 8.617 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.01207/0.9739, allocations: 4.918 MB / 0.6684 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005482/0.9795, allocations: 0.9034 MB / 0.6692 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007502/0.9803, allocations: 0.9012 MB / 0.6701 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.9804, allocations: 37.25 kB / 0.6702 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 3.567e-06/0.9804, allocations: 1.031 kB / 0.6702 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.01399/0.9944, allocations: 2.144 MB / 0.6722 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.9945, allocations: 55.97 kB / 0.6723 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003322/0.9978, allocations: 1.063 MB / 0.6733 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000256/0.9981, allocations: 37.7 kB / 0.6734 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006303/0.9988, allocations: 0.5245 MB / 0.6739 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.999, allocations: 149.6 kB / 0.674 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.9991, allocations: 10.22 kB / 0.674 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.9992, allocations: 328.7 kB / 0.6744 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/1.001, allocations: 324.8 kB / 0.6747 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/1.002, allocations: 0.5279 MB / 0.6752 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/1.004, allocations: 359 kB / 0.6755 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.004, allocations: 6.359 kB / 0.6755 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.005895/1.01, allocations: 1.219 MB / 0.6767 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000882/1.011, allocations: 1.664 MB / 0.6783 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/1.011, allocations: 5.922 kB / 0.6783 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002078/1.013, allocations: 329.4 kB / 0.6787 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000974/1.014, allocations: 126.8 kB / 0.6788 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/1.016, allocations: 0.9394 MB / 0.6797 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/1.019, allocations: 193.6 kB / 0.6799 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/1.019, allocations: 32.61 kB / 0.6799 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.019, allocations: 4.344 kB / 0.6799 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005535/1.025, allocations: 1.075 MB / 0.681 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/1.025, allocations: 9 kB / 0.681 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/1.027, allocations: 323.1 kB / 0.6813 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008948/1.028, allocations: 123 kB / 0.6814 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/1.03, allocations: 0.9375 MB / 0.6823 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/1.033, allocations: 180.3 kB / 0.6825 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/1.033, allocations: 28.25 kB / 0.6825 GB, free: 13.04 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 (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.001174/1.034, allocations: 353.1 kB / 0.6829 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004922/1.035, allocations: 106.8 kB / 0.683 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006143/1.041, allocations: 1.201 MB / 0.6841 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/1.041, allocations: 6.969 kB / 0.6841 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/1.041, allocations: 4 kB / 0.6841 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/1.041, allocations: 3.297 kB / 0.6841 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009584/1.05, allocations: 2.26 MB / 0.6864 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/1.051, allocations: 3.094 kB / 0.6864 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/1.051, allocations: 74.53 kB / 0.6864 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/1.053, allocations: 327.3 kB / 0.6867 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.468e-05/1.053, allocations: 17.2 kB / 0.6868 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/1.055, allocations: 0.9643 MB / 0.6877 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/1.055, allocations: 7.344 kB / 0.6877 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006311/1.062, allocations: 1.379 MB / 0.689 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/1.063, allocations: 290.4 kB / 0.6893 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/1.063, allocations: 12.27 kB / 0.6893 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/1.065, allocations: 118.6 kB / 0.6895 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.065, allocations: 31.98 kB / 0.6895 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.959e-05/1.065, allocations: 22.78 kB / 0.6895 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002067/1.067, allocations: 0.7494 MB / 0.6902 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/1.067, allocations: 3.938 kB / 0.6902 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00312/1.071, allocations: 0.5611 MB / 0.6908 GB, free: 9.137 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 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.00788/1.078, allocations: 2.799 MB / 0.6935 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005438/1.084, allocations: 1.162 MB / 0.6947 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/1.084, allocations: 1.094 kB / 0.6947 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/1.085, allocations: 368.8 kB / 0.695 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004524/1.09, allocations: 0.4917 MB / 0.6955 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/1.103, allocations: 5.927 MB / 0.7013 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/1.105, allocations: 1.084 MB / 0.7023 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00179/1.106, allocations: 219.3 kB / 0.7025 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009267/1.107, allocations: 407.7 kB / 0.7029 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of SimCode: time 1.583e-06/1.107, allocations: 1 kB / 0.7029 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1655/1.273, allocations: 32.92 MB / 0.7351 GB, free: 3.938 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005161/1.274, allocations: 241.8 kB / 0.7353 GB, free: 3.691 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.672/5.945, allocations: 0 / 0.7353 GB, free: 3.691 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) Environment - environmentSimulation: