Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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_y,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_Carnot_y",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.007605/0.007605, allocations: 105.9 kB / 15.73 MB, free: 6 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.001753/0.001753, allocations: 189 kB / 16.67 MB, free: 5.926 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.198/2.198, allocations: 390.3 MB / 0.6648 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 63.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7013/0.7032, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07191/0.7752, allocations: 75.2 MB / 1.161 GB, free: 15.29 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02144/0.7967, allocations: 15.17 MB / 1.176 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002929/0.7996, allocations: 65.41 kB / 1.176 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.8024, allocations: 0.8324 MB / 1.177 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007748/0.8102, allocations: 2.594 MB / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.8144, allocations: 1.4 MB / 1.18 GB, free: 1.387 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006786/0.8212, allocations: 4.401 MB / 1.185 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/0.8235, allocations: 1.447 MB / 1.186 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003817/0.8273, allocations: 1.631 MB / 1.188 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.8292, allocations: 1.213 MB / 1.189 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002621/0.8295, allocations: 167.7 kB / 1.189 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00311/0.8326, allocations: 1.403 MB / 1.191 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004113/0.833, allocations: 402.7 kB / 1.191 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.8341, allocations: 0.904 MB / 1.192 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004019/0.8381, allocations: 2.868 MB / 1.195 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8381, allocations: 0 / 1.195 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8382, allocations: 0 / 1.195 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.669e-05/0.8382, allocations: 1.25 kB / 1.195 GB, free: 8.441 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003938/0.8421, allocations: 2.087 MB / 1.197 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.8422, allocations: 13.72 kB / 1.197 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/0.8424, allocations: 147.9 kB / 1.197 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00091/0.8433, allocations: 222.9 kB / 1.197 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/0.8459, allocations: 1.535 MB / 1.198 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.846, allocations: 80.33 kB / 1.199 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.8462, allocations: 100.5 kB / 1.199 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.8482, allocations: 1.1 MB / 1.2 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.8483, allocations: 1.156 kB / 1.2 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.8484, allocations: 42.03 kB / 1.2 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.8484, allocations: 28.81 kB / 1.2 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.8504, allocations: 0.8888 MB / 1.201 GB, free: 4.188 MB / 0.9356 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.006107/0.8565, allocations: 4.909 MB / 1.205 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.858, allocations: 0.624 MB / 1.206 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007292/0.8587, allocations: 346.4 kB / 1.206 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006277/0.8594, allocations: 0.8277 MB / 1.207 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.8594, allocations: 43.62 kB / 1.207 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=61): time 2.665e-06/0.8594, allocations: 3.938 kB / 1.207 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=61): time 0.007697/0.8671, allocations: 1.69 MB / 1.209 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.8672, allocations: 61.44 kB / 1.209 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.8691, allocations: 1.235 MB / 1.21 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.8693, allocations: 38.98 kB / 1.21 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000539/0.8698, allocations: 0.6047 MB / 1.211 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.8701, allocations: 215 kB / 1.211 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/0.8704, allocations: 155.7 kB / 1.211 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.8705, allocations: 337.1 kB / 1.211 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007647/0.8712, allocations: 291.1 kB / 1.212 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009327/0.8722, allocations: 0.493 MB / 1.212 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.8737, allocations: 0.7047 MB / 1.213 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.403e-06/0.8738, allocations: 1.469 kB / 1.213 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005316/0.8791, allocations: 1.272 MB / 1.214 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.8791, allocations: 6.875 kB / 1.214 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.8792, allocations: 8.109 kB / 1.214 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006823/0.8798, allocations: 135.3 kB / 1.214 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.8806, allocations: 168.9 kB / 1.214 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000916/0.8815, allocations: 0.7025 MB / 1.215 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.883, allocations: 113.6 kB / 1.215 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.8832, allocations: 39.66 kB / 1.215 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001214/0.8844, allocations: 0.5509 MB / 1.216 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008657/0.8853, allocations: 495.5 kB / 1.216 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001471/0.8867, allocations: 0.7093 MB / 1.217 GB, free: 8 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.318e-06/0.8868, allocations: 1.156 kB / 1.217 GB, free: 8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005317/0.8921, allocations: 1.272 MB / 1.218 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.8921, allocations: 14.28 kB / 1.218 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.8922, allocations: 4 kB / 1.218 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/0.8927, allocations: 129.1 kB / 1.218 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.8934, allocations: 167.8 kB / 1.219 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008666/0.8943, allocations: 0.7006 MB / 1.219 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.8958, allocations: 95.45 kB / 1.219 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.314e-05/0.8959, allocations: 35.98 kB / 1.219 GB, free: 5.918 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002652/0.8962, allocations: 224.1 kB / 1.22 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.8965, allocations: 138.3 kB / 1.22 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004869/0.9014, allocations: 1.271 MB / 1.221 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.9014, allocations: 4 kB / 1.221 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.9015, allocations: 3.984 kB / 1.221 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004443/0.9059, allocations: 1.103 MB / 1.222 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007262/0.9132, allocations: 2.622 MB / 1.225 GB, free: 400 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.9132, allocations: 4 kB / 1.225 GB, free: 396 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005035/0.9137, allocations: 107.9 kB / 1.225 GB, free: 288 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004972/0.9143, allocations: 132.8 kB / 1.225 GB, free: 152 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.9143, allocations: 23.98 kB / 1.225 GB, free: 128 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005229/0.9195, allocations: 2.629 MB / 1.227 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.9196, allocations: 4 kB / 1.227 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005695/0.9253, allocations: 1.695 MB / 1.229 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007149/0.926, allocations: 307.2 kB / 1.229 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.9262, allocations: 16 kB / 1.229 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000834/0.9271, allocations: 52 kB / 1.229 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.9272, allocations: 60.23 kB / 1.229 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-05/0.9273, allocations: 36.09 kB / 1.23 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00117/0.9285, allocations: 0.8896 MB / 1.23 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9285, allocations: 0 / 1.23 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00201/0.9305, allocations: 0.7213 MB / 1.231 GB, free: 9.473 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00661/0.9371, allocations: 2.593 MB / 1.234 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002738/0.9399, allocations: 1.118 MB / 1.235 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.9399, allocations: 4.062 kB / 1.235 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.9414, allocations: 0.5563 MB / 1.235 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/0.9452, allocations: 0.8041 MB / 1.236 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/0.9657, allocations: 9.828 MB / 1.246 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/0.9664, allocations: 1.179 MB / 1.247 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00118/0.9676, allocations: 310.9 kB / 1.247 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006485/0.9683, allocations: 0.5071 MB / 1.248 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.9683, allocations: 0 / 1.248 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.508/4.476, allocations: 42.59 MB / 1.289 GB, free: 14.12 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.07/22.54, allocations: 3.984 kB / 1.289 GB, free: 14.11 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)