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.0008933/0.0008933, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005045/0.005045, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.225/1.225, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6932/0.6932, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002815, allocations: 12 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3421, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04892/0.3911, allocations: 59.72 MB / 0.6421 GB, free: 4.535 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.4042, allocations: 11.89 MB / 0.6537 GB, free: 8.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007786/0.405, allocations: 55.62 kB / 0.6537 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.4062, allocations: 0.5438 MB / 0.6543 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.4092, allocations: 1.799 MB / 0.656 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.411, allocations: 1.084 MB / 0.6571 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003029/0.414, allocations: 3.902 MB / 0.6609 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009447/0.415, allocations: 0.8981 MB / 0.6618 GB, free: 296 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.4164, allocations: 1.127 MB / 0.6629 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008228/0.4173, allocations: 0.8592 MB / 0.6637 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.406e-05/0.4174, allocations: 40 kB / 0.6637 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.4191, allocations: 1.321 MB / 0.665 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.4193, allocations: 214.9 kB / 0.6652 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000472/0.4197, allocations: 0.6272 MB / 0.6658 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.4216, allocations: 2.196 MB / 0.668 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.4216, allocations: 0 / 0.668 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4216, allocations: 0 / 0.668 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.4216, allocations: 0 / 0.668 GB, free: 9.879 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.002124/0.4237, allocations: 1.477 MB / 0.6694 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.4238, allocations: 12.03 kB / 0.6694 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.4239, allocations: 122.8 kB / 0.6696 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.4259, allocations: 478.6 kB / 0.67 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.4276, allocations: 1.132 MB / 0.6711 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/0.4279, allocations: 125.9 kB / 0.6712 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.428, allocations: 84 kB / 0.6713 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.4298, allocations: 1.001 MB / 0.6723 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.4298, allocations: 7.938 kB / 0.6723 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.012e-05/0.4299, allocations: 32 kB / 0.6723 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.4299, allocations: 16 kB / 0.6724 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.4321, allocations: 0.925 MB / 0.6733 GB, free: 4.312 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.005163/0.4373, allocations: 4.89 MB / 0.678 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/0.4406, allocations: 0.8951 MB / 0.6789 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000695/0.4413, allocations: 328.5 kB / 0.6792 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005117/0.4418, allocations: 0.9064 MB / 0.6801 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.4419, allocations: 42.52 kB / 0.6802 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 1.422e-06/0.4419, allocations: 4 kB / 0.6802 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008239/0.4501, allocations: 2.142 MB / 0.6822 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.4501, allocations: 59.34 kB / 0.6823 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.4514, allocations: 1.055 MB / 0.6833 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.4515, allocations: 37.7 kB / 0.6834 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.4518, allocations: 0.5274 MB / 0.6839 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.4519, allocations: 149.8 kB / 0.684 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.452, allocations: 49.69 kB / 0.6841 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.4521, allocations: 325.9 kB / 0.6844 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000853/0.453, allocations: 324.9 kB / 0.6847 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009743/0.4539, allocations: 0.5376 MB / 0.6852 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.4555, allocations: 0.7364 MB / 0.6859 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4555, allocations: 0 / 0.6859 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002445/0.458, allocations: 1.048 MB / 0.687 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.4581, allocations: 221.5 kB / 0.6872 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.4581, allocations: 8 kB / 0.6872 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.4593, allocations: 336.5 kB / 0.6875 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.4598, allocations: 131.8 kB / 0.6876 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.4611, allocations: 0.9342 MB / 0.6885 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.4622, allocations: 199.2 kB / 0.6887 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.4623, allocations: 27.98 kB / 0.6888 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.4623, allocations: 6.031 kB / 0.6888 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002294/0.4646, allocations: 0.9143 MB / 0.6897 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4646, allocations: 12.09 kB / 0.6897 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009959/0.4656, allocations: 324.5 kB / 0.69 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.4661, allocations: 127.8 kB / 0.6901 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.4674, allocations: 0.9387 MB / 0.691 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009606/0.4684, allocations: 167.4 kB / 0.6912 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.4685, allocations: 27.98 kB / 0.6912 GB, free: 1.008 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 (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.0003342/0.4688, allocations: 353 kB / 0.6915 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.4689, allocations: 110.6 kB / 0.6916 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003656/0.4726, allocations: 1.199 MB / 0.6928 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4726, allocations: 7.938 kB / 0.6928 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4726, allocations: 0 / 0.6928 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.4726, allocations: 7.922 kB / 0.6928 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004596/0.4772, allocations: 2.262 MB / 0.695 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4773, allocations: 0 / 0.695 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.4775, allocations: 71.89 kB / 0.6951 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000923/0.4785, allocations: 324.8 kB / 0.6954 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.4785, allocations: 16 kB / 0.6954 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.4798, allocations: 0.9738 MB / 0.6964 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4799, allocations: 4 kB / 0.6964 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/0.4832, allocations: 1.256 MB / 0.6976 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.4836, allocations: 279.4 kB / 0.6979 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.4837, allocations: 15.98 kB / 0.6979 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008179/0.4845, allocations: 111.9 kB / 0.698 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.4846, allocations: 43.83 kB / 0.698 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.4846, allocations: 23.98 kB / 0.6981 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009336/0.4856, allocations: 0.7428 MB / 0.6988 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4856, allocations: 0 / 0.6988 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001115/0.4867, allocations: 0.5612 MB / 0.6993 GB, free: 8.449 MB / 0.5294 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.004149/0.4908, allocations: 2.07 MB / 0.7014 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002797/0.4937, allocations: 1.173 MB / 0.7025 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4937, allocations: 0 / 0.7025 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008199/0.4945, allocations: 374.5 kB / 0.7029 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.4969, allocations: 0.4947 MB / 0.7033 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.5132, allocations: 9.204 MB / 0.7123 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.5137, allocations: 1.061 MB / 0.7134 GB, free: 9.582 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007124/0.5145, allocations: 220.3 kB / 0.7136 GB, free: 9.367 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004531/0.5149, allocations: 411.2 kB / 0.714 GB, free: 8.965 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.5149, allocations: 0 / 0.714 GB, free: 8.965 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.811/4.326, allocations: 32.04 MB / 0.7453 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/4.326, allocations: 260 kB / 0.7455 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/6.91, allocations: 3.938 kB / 0.7455 GB, free: 9.137 MB / 0.5762 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)