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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007459/0.007459, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001895/0.001895, allocations: 191.2 kB / 16.67 MB, free: 5.465 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.544/2.544, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 63.89 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2579, allocations: 162.3 MB / 1.242 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.5068/0.7647, allocations: 61.33 MB / 1.302 GB, free: 7.465 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.7797, allocations: 12 MB / 1.313 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.7808, allocations: 59.47 kB / 1.314 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.7823, allocations: 0.6848 MB / 1.314 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003636/0.7859, allocations: 1.949 MB / 1.316 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.7883, allocations: 1.202 MB / 1.317 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002934/0.7913, allocations: 3.086 MB / 1.32 GB, free: 11.03 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.7925, allocations: 1.097 MB / 1.321 GB, free: 10.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.795, allocations: 1.442 MB / 1.323 GB, free: 9.777 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.796, allocations: 0.8825 MB / 1.324 GB, free: 9.367 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.7962, allocations: 114.5 kB / 1.324 GB, free: 9.367 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.7986, allocations: 1.455 MB / 1.325 GB, free: 8.875 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.7989, allocations: 287.7 kB / 1.325 GB, free: 8.691 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006209/0.7995, allocations: 0.6968 MB / 1.326 GB, free: 8.254 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.8022, allocations: 2.313 MB / 1.328 GB, free: 7.375 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.8022, allocations: 0 / 1.328 GB, free: 7.375 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.52e-07/0.8022, allocations: 0 / 1.328 GB, free: 7.375 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.8022, allocations: 1.125 kB / 1.328 GB, free: 7.375 MB / 1.045 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.002596/0.8048, allocations: 1.773 MB / 1.33 GB, free: 6.145 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.8049, allocations: 9.406 kB / 1.33 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.805, allocations: 123.5 kB / 1.33 GB, free: 6.059 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.8069, allocations: 414.3 kB / 1.331 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.8088, allocations: 1.175 MB / 1.332 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/0.8089, allocations: 60.81 kB / 1.332 GB, free: 5.223 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.809, allocations: 87.03 kB / 1.332 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.8108, allocations: 0.9997 MB / 1.333 GB, free: 4.699 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.8108, allocations: 5.094 kB / 1.333 GB, free: 4.695 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.536e-05/0.8109, allocations: 32.14 kB / 1.333 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.8109, allocations: 19.5 kB / 1.333 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.813, allocations: 0.8625 MB / 1.334 GB, free: 4.383 MB / 1.045 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.005815/0.8188, allocations: 5.254 MB / 1.339 GB, free: 292 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/0.8219, allocations: 0.7938 MB / 1.34 GB, free: 52 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006778/0.8226, allocations: 300.4 kB / 1.34 GB, free: 15.95 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006406/0.8233, allocations: 0.9044 MB / 1.341 GB, free: 14.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.8233, allocations: 37.86 kB / 1.341 GB, free: 14.87 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 1.412e-06/0.8233, allocations: 1.094 kB / 1.341 GB, free: 14.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.007584/0.8309, allocations: 1.872 MB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.8309, allocations: 60.16 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.8323, allocations: 1.074 MB / 1.344 GB, free: 13.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/0.8324, allocations: 38.08 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.8328, allocations: 0.5291 MB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.833, allocations: 170.9 kB / 1.345 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.8332, allocations: 132.2 kB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8333, allocations: 330.9 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008142/0.8341, allocations: 306.7 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009923/0.8351, allocations: 0.5275 MB / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.8367, allocations: 0.7247 MB / 1.347 GB, free: 12.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8367, allocations: 1.469 kB / 1.347 GB, free: 12.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003145/0.8398, allocations: 1.15 MB / 1.348 GB, free: 11.62 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.8399, allocations: 7.312 kB / 1.348 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.8399, allocations: 4.5 kB / 1.348 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.8409, allocations: 316 kB / 1.348 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.8414, allocations: 131.8 kB / 1.348 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.8428, allocations: 0.8982 MB / 1.349 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009923/0.8438, allocations: 154.6 kB / 1.349 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/0.8438, allocations: 34.77 kB / 1.349 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001049/0.8449, allocations: 0.5096 MB / 1.35 GB, free: 10.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009848/0.8459, allocations: 0.5315 MB / 1.35 GB, free: 10.06 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001535/0.8474, allocations: 0.7081 MB / 1.351 GB, free: 9.578 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.845e-06/0.8474, allocations: 1.312 kB / 1.351 GB, free: 9.578 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003069/0.8505, allocations: 1.138 MB / 1.352 GB, free: 9.004 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.8505, allocations: 8.156 kB / 1.352 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8505, allocations: 4.031 kB / 1.352 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009342/0.8515, allocations: 299.1 kB / 1.352 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.852, allocations: 127.6 kB / 1.352 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.8532, allocations: 0.9066 MB / 1.353 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009731/0.8542, allocations: 138.1 kB / 1.353 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.8543, allocations: 31.73 kB / 1.353 GB, free: 8.027 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0001697/0.8545, allocations: 216.9 kB / 1.354 GB, free: 7.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.8546, allocations: 120.5 kB / 1.354 GB, free: 7.754 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/0.8581, allocations: 1.101 MB / 1.355 GB, free: 7.141 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.8581, allocations: 9.094 kB / 1.355 GB, free: 7.137 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8581, allocations: 1.312 kB / 1.355 GB, free: 7.137 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.8581, allocations: 3.984 kB / 1.355 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004579/0.8627, allocations: 2.168 MB / 1.357 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.8627, allocations: 2.688 kB / 1.357 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.863, allocations: 70.27 kB / 1.357 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008641/0.8639, allocations: 294 kB / 1.357 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.8639, allocations: 22.78 kB / 1.357 GB, free: 5.477 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.8652, allocations: 0.9244 MB / 1.358 GB, free: 4.742 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8652, allocations: 3.531 kB / 1.358 GB, free: 4.742 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/0.8686, allocations: 1.189 MB / 1.359 GB, free: 4.012 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.8689, allocations: 273 kB / 1.36 GB, free: 3.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.869, allocations: 8.719 kB / 1.36 GB, free: 3.766 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007381/0.8698, allocations: 73.78 kB / 1.36 GB, free: 3.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.8698, allocations: 31.61 kB / 1.36 GB, free: 3.715 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.8699, allocations: 28.2 kB / 1.36 GB, free: 3.703 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001013/0.8709, allocations: 0.7564 MB / 1.361 GB, free: 3.273 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.854e-06/0.8709, allocations: 0 / 1.361 GB, free: 3.273 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001266/0.8722, allocations: 0.5757 MB / 1.361 GB, free: 3.148 MB / 1.061 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 (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.0042/0.8764, allocations: 2.007 MB / 1.363 GB, free: 1.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002788/0.8792, allocations: 1.136 MB / 1.364 GB, free: 1.246 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8792, allocations: 0.8438 kB / 1.364 GB, free: 1.246 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007963/0.88, allocations: 342.7 kB / 1.364 GB, free: 1.098 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.882, allocations: 0.5024 MB / 1.365 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.8962, allocations: 8.311 MB / 1.373 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.8968, allocations: 1.064 MB / 1.374 GB, free: 10.79 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006823/0.8975, allocations: 229.1 kB / 1.374 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00049/0.898, allocations: 414.4 kB / 1.375 GB, free: 10.33 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/0.898, allocations: 5.125 kB / 1.375 GB, free: 10.33 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.73/8.628, allocations: 33.8 MB / 1.408 GB, free: 12.3 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/23.38, allocations: 16.38 kB / 1.408 GB, free: 12.29 MB / 1.107 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/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=400 --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)