Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_latest_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.0009232/0.0009231, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001004/0.001004, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.48/2.48, allocations: 409.4 MB / 0.684 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003798, allocations: 11.98 kB / 0.8378 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6811/0.6815, allocations: 146.8 MB / 0.9811 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04967/0.7312, allocations: 56.54 MB / 1.036 GB, free: 13.52 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.7471, allocations: 11.22 MB / 1.047 GB, free: 2.277 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.7493, allocations: 55.62 kB / 1.047 GB, free: 2.223 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.751, allocations: 468.9 kB / 1.048 GB, free: 1.762 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005093/0.7561, allocations: 1.523 MB / 1.049 GB, free: 236 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.759, allocations: 0.8714 MB / 1.05 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006943/0.7659, allocations: 3.386 MB / 1.053 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/0.768, allocations: 0.796 MB / 1.054 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002786/0.7708, allocations: 1.038 MB / 1.055 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.7722, allocations: 0.8049 MB / 1.056 GB, free: 9.301 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.7723, allocations: 44 kB / 1.056 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.7749, allocations: 1.103 MB / 1.057 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.7752, allocations: 203 kB / 1.057 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.7757, allocations: 281 kB / 1.058 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.7777, allocations: 1.644 MB / 1.059 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.7777, allocations: 0 / 1.059 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7777, allocations: 0 / 1.059 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.7777, allocations: 0 / 1.059 GB, free: 6.027 MB / 0.8106 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.0028/0.7805, allocations: 1.501 MB / 1.061 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.7806, allocations: 12.03 kB / 1.061 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.7808, allocations: 126.6 kB / 1.061 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.7823, allocations: 386 kB / 1.061 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.7847, allocations: 1.082 MB / 1.062 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003221/0.785, allocations: 129.9 kB / 1.062 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.7851, allocations: 83.95 kB / 1.062 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.7871, allocations: 0.9622 MB / 1.063 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.7871, allocations: 3.938 kB / 1.063 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-05/0.7872, allocations: 32 kB / 1.063 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.7872, allocations: 20 kB / 1.063 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.7894, allocations: 0.8431 MB / 1.064 GB, free: 0.6953 MB / 0.8106 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.006393/0.7958, allocations: 4.8 MB / 1.069 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.7973, allocations: 0.5898 MB / 1.07 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005834/0.7979, allocations: 293.4 kB / 1.07 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/0.7994, allocations: 1.396 MB / 1.071 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.7994, allocations: 34.56 kB / 1.071 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=43): time 2.414e-06/0.7994, allocations: 0 / 1.071 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43): time 0.007596/0.807, allocations: 2.043 MB / 1.073 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/0.8071, allocations: 63.34 kB / 1.073 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.8088, allocations: 1.04 MB / 1.074 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/0.8089, allocations: 41.7 kB / 1.074 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.8093, allocations: 0.5195 MB / 1.075 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.8094, allocations: 149.8 kB / 1.075 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.8095, allocations: 12 kB / 1.075 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.8097, allocations: 326 kB / 1.075 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007936/0.8105, allocations: 281 kB / 1.076 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000994/0.8115, allocations: 494.1 kB / 1.076 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007739/0.8123, allocations: 319.8 kB / 1.076 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.8123, allocations: 0 / 1.076 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003294/0.8156, allocations: 1.152 MB / 1.077 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001583/0.8158, allocations: 217.7 kB / 1.078 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.8158, allocations: 4 kB / 1.078 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.8169, allocations: 324.6 kB / 1.078 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.8174, allocations: 115.8 kB / 1.078 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.8188, allocations: 0.9407 MB / 1.079 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.82, allocations: 187.1 kB / 1.079 GB, free: 492 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.8201, allocations: 27.98 kB / 1.079 GB, free: 464 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.8201, allocations: 4 kB / 1.079 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002867/0.823, allocations: 0.9994 MB / 1.08 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.823, allocations: 4 kB / 1.08 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.8241, allocations: 325.1 kB / 1.08 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.8245, allocations: 115.8 kB / 1.081 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.8259, allocations: 0.9365 MB / 1.082 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.827, allocations: 152.9 kB / 1.082 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.615e-05/0.827, allocations: 35.94 kB / 1.082 GB, free: 13.86 MB / 0.8419 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 (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.0005919/0.8276, allocations: 352.9 kB / 1.082 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.8278, allocations: 114.6 kB / 1.082 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/0.8312, allocations: 1.152 MB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.8312, allocations: 11.92 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.8312, allocations: 0 / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.548e-05/0.8313, allocations: 3.953 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004687/0.836, allocations: 2.154 MB / 1.085 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.8361, allocations: 8.281 kB / 1.085 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.8363, allocations: 47.92 kB / 1.085 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009814/0.8372, allocations: 328.6 kB / 1.086 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.8373, allocations: 19.98 kB / 1.086 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.8388, allocations: 0.9712 MB / 1.087 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.8389, allocations: 4 kB / 1.087 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/0.842, allocations: 1.184 MB / 1.088 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005535/0.8426, allocations: 279.5 kB / 1.088 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.8427, allocations: 16 kB / 1.088 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007528/0.8435, allocations: 99.81 kB / 1.088 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.8436, allocations: 43.83 kB / 1.088 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.8436, allocations: 19.98 kB / 1.088 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001194/0.8448, allocations: 0.7428 MB / 1.089 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8449, allocations: 0 / 1.089 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001702/0.8466, allocations: 0.5652 MB / 1.09 GB, free: 5.566 MB / 0.8419 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.004402/0.851, allocations: 2.011 MB / 1.092 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002771/0.8538, allocations: 1.046 MB / 1.093 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.8538, allocations: 4.125 kB / 1.093 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000733/0.8545, allocations: 325.1 kB / 1.093 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.857, allocations: 0.4959 MB / 1.093 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.8704, allocations: 6.465 MB / 1.1 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/0.8712, allocations: 1.058 MB / 1.101 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001011/0.8722, allocations: 218.6 kB / 1.101 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/0.8727, allocations: 407.2 kB / 1.101 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of SimCode: time 8.92e-07/0.8727, allocations: 0 / 1.101 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05775/0.9305, allocations: 33.48 MB / 1.134 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003553/0.9309, allocations: 284.3 kB / 1.134 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.443, allocations: 0 / 1.134 GB, free: 7.867 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat does not exist to compare? outputFormat=mat