Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",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.001009/0.001009, allocations: 91.84 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.008637/0.008637, allocations: 175.6 kB / 16.27 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.276/1.276, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 390.9 MB / 0.6664 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 15.98 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5911/0.5914, allocations: 142.4 MB / 0.9552 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04996/0.6414, allocations: 59.78 MB / 1.014 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01535/0.6568, allocations: 11.92 MB / 1.025 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002708/0.6595, allocations: 55.69 kB / 1.025 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.6615, allocations: 0.5516 MB / 1.026 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004855/0.6664, allocations: 1.796 MB / 1.028 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.6688, allocations: 1.076 MB / 1.029 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003784/0.6726, allocations: 3.902 MB / 1.032 GB, free: 16 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.6737, allocations: 0.9041 MB / 1.033 GB, free: 15.08 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.6753, allocations: 1.127 MB / 1.034 GB, free: 13.95 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009176/0.6763, allocations: 0.8437 MB / 1.035 GB, free: 13.1 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.514e-05/0.6764, allocations: 44 kB / 1.035 GB, free: 13.06 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.6786, allocations: 1.353 MB / 1.037 GB, free: 11.7 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.6788, allocations: 206.9 kB / 1.037 GB, free: 11.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005322/0.6793, allocations: 0.635 MB / 1.037 GB, free: 10.85 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.6815, allocations: 2.2 MB / 1.04 GB, free: 8.645 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6815, allocations: 4 kB / 1.04 GB, free: 8.641 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6815, allocations: 0 / 1.04 GB, free: 8.641 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.6815, allocations: 0 / 1.04 GB, free: 8.641 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.002276/0.6838, allocations: 1.485 MB / 1.041 GB, free: 7.098 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.6838, allocations: 12.03 kB / 1.041 GB, free: 7.086 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.684, allocations: 122.9 kB / 1.041 GB, free: 6.957 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.6856, allocations: 382.7 kB / 1.041 GB, free: 6.582 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.6873, allocations: 1.132 MB / 1.043 GB, free: 5.391 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.6877, allocations: 133.9 kB / 1.043 GB, free: 5.262 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.6878, allocations: 83.94 kB / 1.043 GB, free: 5.18 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.6895, allocations: 0.97 MB / 1.044 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.6896, allocations: 4 kB / 1.044 GB, free: 4.16 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-05/0.6896, allocations: 32 kB / 1.044 GB, free: 4.129 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.6897, allocations: 16 kB / 1.044 GB, free: 4.113 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.6917, allocations: 0.8548 MB / 1.045 GB, free: 3.258 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.005307/0.697, allocations: 4.801 MB / 1.049 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.6985, allocations: 0.5902 MB / 1.05 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/0.6992, allocations: 288.7 kB / 1.05 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/0.7005, allocations: 1.388 MB / 1.052 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.7005, allocations: 42.5 kB / 1.052 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 3.657e-06/0.7005, allocations: 4 kB / 1.052 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.008354/0.7089, allocations: 2.044 MB / 1.054 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.7089, allocations: 59.41 kB / 1.054 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.7103, allocations: 1.051 MB / 1.055 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.7103, allocations: 37.7 kB / 1.055 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/0.7107, allocations: 0.5235 MB / 1.055 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.7108, allocations: 153.8 kB / 1.055 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.7109, allocations: 49.64 kB / 1.055 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.711, allocations: 329.9 kB / 1.056 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007514/0.7117, allocations: 284.9 kB / 1.056 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/0.7126, allocations: 498.2 kB / 1.056 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.7141, allocations: 0.6743 MB / 1.057 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7141, allocations: 0 / 1.057 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002253/0.7163, allocations: 0.9765 MB / 1.058 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.7165, allocations: 208.2 kB / 1.058 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.7165, allocations: 8 kB / 1.058 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.7177, allocations: 328.6 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.7182, allocations: 119.8 kB / 1.059 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.7196, allocations: 0.9411 MB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.7207, allocations: 186.1 kB / 1.06 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.7208, allocations: 31.98 kB / 1.06 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.03e-06/0.7208, allocations: 0 / 1.06 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002123/0.7229, allocations: 0.8441 MB / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7229, allocations: 4 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.724, allocations: 316.8 kB / 1.061 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.7244, allocations: 123.8 kB / 1.061 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.7258, allocations: 0.9361 MB / 1.062 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009493/0.7268, allocations: 155.5 kB / 1.062 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.7268, allocations: 28 kB / 1.062 GB, free: 284 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0003828/0.7272, allocations: 352.9 kB / 1.062 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.7274, allocations: 110.6 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/0.731, allocations: 1.156 MB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.731, allocations: 8.094 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.731, allocations: 11.92 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.731, allocations: 3.984 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/0.7355, allocations: 2.153 MB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7355, allocations: 4 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.7357, allocations: 55.91 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009722/0.7367, allocations: 334.5 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.7367, allocations: 12 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.7381, allocations: 0.966 MB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.7381, allocations: 7.938 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/0.7414, allocations: 1.195 MB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/0.7417, allocations: 279.4 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.7419, allocations: 12 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008131/0.7427, allocations: 99.81 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.7428, allocations: 43.83 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.7428, allocations: 23.98 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000983/0.7438, allocations: 0.7389 MB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7438, allocations: 0 / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001232/0.7451, allocations: 0.5692 MB / 1.07 GB, free: 7.969 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004133/0.7492, allocations: 2.029 MB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002525/0.7517, allocations: 1.058 MB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.7517, allocations: 0 / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007361/0.7525, allocations: 337.5 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/0.7551, allocations: 0.5112 MB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/0.7698, allocations: 8.726 MB / 1.082 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.7704, allocations: 1.061 MB / 1.083 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007715/0.7712, allocations: 214.2 kB / 1.084 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.7716, allocations: 403.3 kB / 1.084 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.7717, allocations: 0 / 1.084 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.486/3.258, allocations: 32.31 MB / 1.116 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003871/3.258, allocations: 286.8 kB / 1.116 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.052/6.31, allocations: 0 / 1.116 GB, free: 8.949 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)