Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_9_Buildings_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.001074/0.001074, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.2 MB / 0.6647 GB, free: 324 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.91 kB / 0.8126 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5403/0.5417, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05585/0.5976, allocations: 61.21 MB / 1.009 GB, free: 4.434 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01596/0.6136, allocations: 11.99 MB / 1.021 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.6152, allocations: 59.62 kB / 1.021 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.6168, allocations: 0.687 MB / 1.022 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004451/0.6212, allocations: 1.955 MB / 1.024 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.6238, allocations: 1.201 MB / 1.025 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003445/0.6273, allocations: 3.071 MB / 1.028 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.6288, allocations: 1.102 MB / 1.029 GB, free: 300 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.6315, allocations: 1.335 MB / 1.03 GB, free: 14.96 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.6329, allocations: 0.8906 MB / 1.031 GB, free: 14.06 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.6331, allocations: 116 kB / 1.031 GB, free: 13.95 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.6356, allocations: 1.435 MB / 1.033 GB, free: 12.51 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003514/0.636, allocations: 286.9 kB / 1.033 GB, free: 12.23 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007305/0.6367, allocations: 0.6958 MB / 1.034 GB, free: 11.53 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.6397, allocations: 2.259 MB / 1.036 GB, free: 9.266 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6397, allocations: 4 kB / 1.036 GB, free: 9.262 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.935e-06/0.6397, allocations: 0 / 1.036 GB, free: 9.262 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.205e-05/0.6398, allocations: 3.938 kB / 1.036 GB, free: 9.258 MB / 0.795 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.002847/0.6426, allocations: 1.715 MB / 1.038 GB, free: 7.48 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.6427, allocations: 12.03 kB / 1.038 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.6428, allocations: 122.9 kB / 1.038 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.645, allocations: 410.6 kB / 1.038 GB, free: 6.938 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.6471, allocations: 1.101 MB / 1.039 GB, free: 5.781 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003592/0.6474, allocations: 121.9 kB / 1.039 GB, free: 5.66 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.6476, allocations: 80 kB / 1.039 GB, free: 5.582 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.6495, allocations: 1.002 MB / 1.04 GB, free: 4.523 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.6495, allocations: 3.938 kB / 1.04 GB, free: 4.52 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.886e-05/0.6496, allocations: 32 kB / 1.04 GB, free: 4.488 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.6496, allocations: 20 kB / 1.04 GB, free: 4.469 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.652, allocations: 0.8741 MB / 1.041 GB, free: 3.59 MB / 0.795 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.006459/0.6585, allocations: 5.259 MB / 1.046 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003543/0.662, allocations: 0.7964 MB / 1.047 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007407/0.6628, allocations: 300.7 kB / 1.047 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006555/0.6635, allocations: 0.9025 MB / 1.048 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.6635, allocations: 42.56 kB / 1.048 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.6635, allocations: 3.938 kB / 1.048 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.008872/0.6724, allocations: 1.919 MB / 1.05 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.6724, allocations: 59.36 kB / 1.05 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.6741, allocations: 1.076 MB / 1.051 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.229e-05/0.6742, allocations: 33.7 kB / 1.051 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.6747, allocations: 0.5312 MB / 1.052 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.6748, allocations: 149.8 kB / 1.052 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.6751, allocations: 138.1 kB / 1.052 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6752, allocations: 329.9 kB / 1.053 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009355/0.6762, allocations: 319.2 kB / 1.053 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.6773, allocations: 0.5424 MB / 1.053 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.6791, allocations: 0.7211 MB / 1.054 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.6791, allocations: 4 kB / 1.054 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002909/0.682, allocations: 1.024 MB / 1.055 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.6821, allocations: 4 kB / 1.055 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.6821, allocations: 8 kB / 1.055 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.6834, allocations: 328.6 kB / 1.055 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.684, allocations: 127.8 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.6855, allocations: 0.9131 MB / 1.056 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.6868, allocations: 156.8 kB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-05/0.6869, allocations: 31.98 kB / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001246/0.6882, allocations: 0.5168 MB / 1.057 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001105/0.6893, allocations: 0.5307 MB / 1.058 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001738/0.691, allocations: 0.7141 MB / 1.058 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.056e-06/0.691, allocations: 0 / 1.058 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002831/0.6939, allocations: 1.023 MB / 1.059 GB, free: 52 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.6939, allocations: 9.875 kB / 1.059 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.6939, allocations: 8 kB / 1.059 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.6951, allocations: 312.7 kB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.6957, allocations: 127.8 kB / 1.06 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.6971, allocations: 0.9096 MB / 1.061 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.6984, allocations: 143.5 kB / 1.061 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.6985, allocations: 31.98 kB / 1.061 GB, free: 14.5 MB / 0.8262 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.0002148/0.6987, allocations: 220.1 kB / 1.061 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.6989, allocations: 110.6 kB / 1.061 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003999/0.7029, allocations: 1.106 MB / 1.062 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.7029, allocations: 11.94 kB / 1.062 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.703, allocations: 0 / 1.062 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.703, allocations: 3.984 kB / 1.062 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005288/0.7083, allocations: 2.15 MB / 1.064 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.7083, allocations: 4 kB / 1.064 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.7086, allocations: 63.89 kB / 1.064 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.7096, allocations: 312.6 kB / 1.065 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.7097, allocations: 15.98 kB / 1.065 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.7113, allocations: 0.9386 MB / 1.066 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.7113, allocations: 8.016 kB / 1.066 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003789/0.7151, allocations: 1.167 MB / 1.067 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/0.7155, allocations: 259.5 kB / 1.067 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.7157, allocations: 12 kB / 1.067 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008691/0.7166, allocations: 71.92 kB / 1.067 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.7167, allocations: 47.77 kB / 1.067 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.7168, allocations: 23.98 kB / 1.067 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001184/0.7179, allocations: 0.7473 MB / 1.068 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.718, allocations: 4 kB / 1.068 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001623/0.7196, allocations: 0.5731 MB / 1.068 GB, free: 6.457 MB / 0.8262 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.004907/0.7245, allocations: 1.978 MB / 1.07 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003485/0.728, allocations: 1.16 MB / 1.072 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.728, allocations: 0 / 1.072 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009276/0.729, allocations: 354.7 kB / 1.072 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/0.7314, allocations: 0.5073 MB / 1.072 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/0.7492, allocations: 8.743 MB / 1.081 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.7499, allocations: 1.057 MB / 1.082 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001017/0.7509, allocations: 220.8 kB / 1.082 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005674/0.7515, allocations: 411.3 kB / 1.083 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of SimCode: time 8.71e-07/0.7515, allocations: 0 / 1.083 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06256/0.8141, allocations: 33.35 MB / 1.115 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.07, allocations: 6.875 kB / 1.115 GB, free: 6.555 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)