Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",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.00102/0.00102, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001421/0.001421, allocations: 168.7 kB / 15.95 MB, free: 204 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.388/1.388, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.455/2.455, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 8 kB / 0.8378 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7017/0.702, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05833/0.7604, allocations: 56.54 MB / 1.036 GB, free: 13.59 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01554/0.776, allocations: 11.22 MB / 1.047 GB, free: 2.344 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.7778, allocations: 51.62 kB / 1.047 GB, free: 2.293 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.7795, allocations: 460.9 kB / 1.048 GB, free: 1.84 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00483/0.7844, allocations: 1.534 MB / 1.049 GB, free: 308 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.7872, allocations: 0.8591 MB / 1.05 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004695/0.7919, allocations: 3.393 MB / 1.053 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.7937, allocations: 0.796 MB / 1.054 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.7963, allocations: 1.038 MB / 1.055 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.798, allocations: 0.801 MB / 1.056 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002894/0.7983, allocations: 44 kB / 1.056 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/0.8011, allocations: 1.107 MB / 1.057 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003674/0.8015, allocations: 203 kB / 1.057 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005793/0.8021, allocations: 289 kB / 1.058 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.8046, allocations: 1.629 MB / 1.059 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.8046, allocations: 0 / 1.059 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.299e-06/0.8047, allocations: 4 kB / 1.059 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.519e-05/0.8047, allocations: 3.938 kB / 1.059 GB, free: 6.102 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.003133/0.8079, allocations: 1.504 MB / 1.061 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.8079, allocations: 12.03 kB / 1.061 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002502/0.8082, allocations: 122.7 kB / 1.061 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/0.8103, allocations: 465.9 kB / 1.061 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/0.8127, allocations: 1.086 MB / 1.062 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/0.813, allocations: 133.9 kB / 1.062 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.8132, allocations: 83.95 kB / 1.063 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.8154, allocations: 1.005 MB / 1.064 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.8154, allocations: 0 / 1.064 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-05/0.8155, allocations: 32 kB / 1.064 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.8155, allocations: 20 kB / 1.064 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.8179, allocations: 0.9172 MB / 1.064 GB, free: 0.5703 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.007041/0.8249, allocations: 4.898 MB / 1.069 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/0.8282, allocations: 0.91 MB / 1.07 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007303/0.8289, allocations: 316.7 kB / 1.07 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007007/0.8296, allocations: 0.9103 MB / 1.071 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.8297, allocations: 34.56 kB / 1.071 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.395e-06/0.8297, allocations: 0 / 1.071 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.008021/0.8377, allocations: 2.164 MB / 1.073 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.8378, allocations: 63.34 kB / 1.074 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.8397, allocations: 1.04 MB / 1.075 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.48e-05/0.8398, allocations: 37.7 kB / 1.075 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/0.8403, allocations: 0.5274 MB / 1.075 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.8404, allocations: 149.8 kB / 1.075 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.8405, allocations: 12 kB / 1.075 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.8406, allocations: 326 kB / 1.076 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008763/0.8415, allocations: 324.9 kB / 1.076 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.8427, allocations: 0.5215 MB / 1.076 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009352/0.8436, allocations: 355.7 kB / 1.077 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.8436, allocations: 4 kB / 1.077 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002722/0.8464, allocations: 1.035 MB / 1.078 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.8465, allocations: 217.5 kB / 1.078 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.8466, allocations: 4 kB / 1.078 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.8478, allocations: 325.5 kB / 1.078 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.8484, allocations: 139.8 kB / 1.078 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.8499, allocations: 0.9404 MB / 1.079 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.8512, allocations: 191.3 kB / 1.079 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.906e-05/0.8513, allocations: 31.98 kB / 1.08 GB, free: 312 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.8513, allocations: 3.938 kB / 1.08 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002361/0.8537, allocations: 0.91 MB / 1.08 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.8537, allocations: 4 kB / 1.08 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.8548, allocations: 324.7 kB / 1.081 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.8554, allocations: 127.9 kB / 1.081 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.8568, allocations: 0.9483 MB / 1.082 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.8579, allocations: 160.9 kB / 1.082 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/0.858, allocations: 31.98 kB / 1.082 GB, free: 13.78 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.000572/0.8586, allocations: 352.9 kB / 1.082 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/0.8589, allocations: 110.6 kB / 1.082 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00366/0.8626, allocations: 1.213 MB / 1.084 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.8626, allocations: 4 kB / 1.084 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8626, allocations: 96 / 1.084 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.8626, allocations: 11.97 kB / 1.084 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/0.8679, allocations: 2.293 MB / 1.086 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.8679, allocations: 4.281 kB / 1.086 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.8682, allocations: 71.89 kB / 1.086 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.8693, allocations: 320.6 kB / 1.086 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.8693, allocations: 16 kB / 1.086 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.8708, allocations: 0.9785 MB / 1.087 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.8708, allocations: 0 / 1.087 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/0.8744, allocations: 1.275 MB / 1.088 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006361/0.875, allocations: 283.4 kB / 1.089 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/0.8753, allocations: 15.95 kB / 1.089 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009837/0.8763, allocations: 107.9 kB / 1.089 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/0.8764, allocations: 35.95 kB / 1.089 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/0.8765, allocations: 23.98 kB / 1.089 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00132/0.8778, allocations: 0.7389 MB / 1.09 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.8778, allocations: 0 / 1.09 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001848/0.8797, allocations: 0.5614 MB / 1.09 GB, free: 5.172 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 (34): * Single equations (assignments): 29 * 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.004582/0.8843, allocations: 2.097 MB / 1.092 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003152/0.8874, allocations: 1.183 MB / 1.093 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8874, allocations: 0 / 1.093 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008886/0.8883, allocations: 370.4 kB / 1.094 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.8909, allocations: 0.4884 MB / 1.094 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/0.9079, allocations: 6.877 MB / 1.101 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.909, allocations: 1.061 MB / 1.102 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001201/0.9102, allocations: 224.2 kB / 1.102 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005771/0.9108, allocations: 419.3 kB / 1.103 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of SimCode: time 8.61e-07/0.9108, allocations: 0 / 1.103 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06079/0.9716, allocations: 33.44 MB / 1.135 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000409/0.9721, allocations: 270.4 kB / 1.135 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.543, allocations: 0 / 1.135 GB, free: 6.75 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat does not exist to compare? outputFormat=mat