Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5009/0.5009, allocations: 90.91 MB / 99.34 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 221.5 MB / 343.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008663/0.0008663, allocations: 99.2 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.58e-05/1.583e-05, allocations: 0 / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1418, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9843/1.126, allocations: 382 MB / 0.9266 GB, free: 99.16 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/1.126, allocations: 91.73 kB / 0.9267 GB, free: 99.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.955/3.081, allocations: 0.5638 GB / 1.491 GB, free: 74.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.082e-06/3.081, allocations: 0 / 1.491 GB, free: 74.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001496/3.081, allocations: 44.42 kB / 1.491 GB, free: 74.47 MB / 0.6042 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.004002/3.085, allocations: 1.735 MB / 1.492 GB, free: 73.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/3.085, allocations: 8.688 kB / 1.492 GB, free: 73.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/3.086, allocations: 240.7 kB / 1.493 GB, free: 73.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00392/3.09, allocations: 1.707 MB / 1.494 GB, free: 73.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/3.09, allocations: 38.58 kB / 1.494 GB, free: 73.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/3.091, allocations: 59.56 kB / 1.494 GB, free: 73.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001347/3.092, allocations: 0.6932 MB / 1.495 GB, free: 73.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/3.094, allocations: 0.8832 MB / 1.496 GB, free: 73.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/3.094, allocations: 1 kB / 1.496 GB, free: 73.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.536e-05/3.094, allocations: 5.953 kB / 1.496 GB, free: 73.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.957e-05/3.094, allocations: 34.69 kB / 1.496 GB, free: 73.37 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.005311/3.099, allocations: 4.507 MB / 1.5 GB, free: 71.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008312/3.1, allocations: 496 kB / 1.501 GB, free: 71.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/3.1, allocations: 248.4 kB / 1.501 GB, free: 71.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004272/3.101, allocations: 0.8279 MB / 1.502 GB, free: 70.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/3.101, allocations: 42.81 kB / 1.502 GB, free: 70.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.445e-06/3.101, allocations: 0 / 1.502 GB, free: 70.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.003852/3.105, allocations: 1.005 MB / 1.503 GB, free: 70.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.706e-05/3.105, allocations: 55.72 kB / 1.503 GB, free: 70.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/3.106, allocations: 0.8882 MB / 1.504 GB, free: 70.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/3.106, allocations: 31.61 kB / 1.504 GB, free: 70.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/3.106, allocations: 0.6373 MB / 1.504 GB, free: 70 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/3.106, allocations: 197.7 kB / 1.505 GB, free: 69.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/3.106, allocations: 1.875 kB / 1.505 GB, free: 69.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.981e-05/3.106, allocations: 333.6 kB / 1.505 GB, free: 69.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/3.107, allocations: 185.2 kB / 1.505 GB, free: 69.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/3.107, allocations: 422.5 kB / 1.505 GB, free: 69.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/3.108, allocations: 268.9 kB / 1.506 GB, free: 69.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/3.108, allocations: 1.281 kB / 1.506 GB, free: 69.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004075/3.112, allocations: 1.13 MB / 1.507 GB, free: 69.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002464/3.112, allocations: 1.416 MB / 1.508 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/3.112, allocations: 4 kB / 1.508 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/3.112, allocations: 107.1 kB / 1.508 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006214/3.113, allocations: 158.9 kB / 1.508 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009957/3.114, allocations: 0.7613 MB / 1.509 GB, free: 67.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/3.115, allocations: 125 kB / 1.509 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-05/3.115, allocations: 32.19 kB / 1.509 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/3.115, allocations: 3.406 kB / 1.509 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003642/3.119, allocations: 0.9788 MB / 1.51 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/3.119, allocations: 3.953 kB / 1.51 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/3.119, allocations: 105.8 kB / 1.51 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/3.12, allocations: 158.4 kB / 1.511 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008813/3.121, allocations: 0.7563 MB / 1.511 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/3.122, allocations: 109.3 kB / 1.511 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/3.122, allocations: 34.94 kB / 1.511 GB, free: 66.66 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.COP:VARIABLE(min = 0.0 unit = "1" ) "Coefficient of performance" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002077/3.122, allocations: 126.6 kB / 1.512 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004016/3.126, allocations: 0.992 MB / 1.513 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/3.126, allocations: 123.3 kB / 1.513 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004098/3.13, allocations: 1.114 MB / 1.514 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/3.13, allocations: 12.95 kB / 1.514 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/3.13, allocations: 0 / 1.514 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003562/3.134, allocations: 1.026 MB / 1.515 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006861/3.141, allocations: 2.319 MB / 1.517 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/3.141, allocations: 3.062 kB / 1.517 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/3.141, allocations: 125.3 kB / 1.517 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002882/3.142, allocations: 99.05 kB / 1.517 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/3.142, allocations: 14.3 kB / 1.517 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003028/3.145, allocations: 2.167 MB / 1.519 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/3.145, allocations: 3.469 kB / 1.519 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004354/3.149, allocations: 1.677 MB / 1.521 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006068/3.15, allocations: 317.9 kB / 1.521 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/3.15, allocations: 3.875 kB / 1.521 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007149/3.151, allocations: 71.75 kB / 1.521 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.681e-05/3.151, allocations: 56.55 kB / 1.521 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/3.151, allocations: 31.95 kB / 1.521 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008249/3.152, allocations: 0.6786 MB / 1.522 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/3.152, allocations: 0 / 1.522 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002123/3.154, allocations: 0.7894 MB / 1.523 GB, free: 63.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete 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 (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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.005414/3.159, allocations: 3.716 MB / 1.527 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002401/3.162, allocations: 1.014 MB / 1.528 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/3.162, allocations: 9.5 kB / 1.528 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009696/3.163, allocations: 0.4886 MB / 1.528 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/3.165, allocations: 0.5607 MB / 1.529 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/3.169, allocations: 2.002 MB / 1.53 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/3.169, allocations: 1.206 MB / 1.532 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001241/3.171, allocations: 335.1 kB / 1.532 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/3.171, allocations: 490.1 kB / 1.532 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/3.171, allocations: 3.281 kB / 1.532 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05886/3.23, allocations: 38.66 MB / 1.57 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001161/3.23, allocations: 159.4 kB / 1.57 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/6.283, allocations: 0 / 1.57 GB, free: 57.92 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)