Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Technologies.Chillers.Examples.CompressionChiller,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Chillers.Examples.CompressionChiller,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChiller",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8742/0.8742, allocations: 141.8 MB / 149.3 MB, free: 9.184 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001327, allocations: 176.8 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009292/0.0009294, allocations: 84.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002104, allocations: 270.7 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.739e-05/1.753e-05, allocations: 0 / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5059/0.5059, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9378/1.444, allocations: 383.2 MB / 1.132 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/1.444, allocations: 91.88 kB / 1.132 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.166/3.61, allocations: 0.5741 GB / 1.706 GB, free: 9.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/3.61, allocations: 0 / 1.706 GB, free: 9.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001487/3.61, allocations: 39.98 kB / 1.706 GB, free: 9.461 MB / 0.698 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.003522/3.614, allocations: 1.68 MB / 1.708 GB, free: 7.734 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/3.614, allocations: 8.031 kB / 1.708 GB, free: 7.727 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/3.616, allocations: 481.4 kB / 1.708 GB, free: 7.254 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/3.619, allocations: 1.624 MB / 1.71 GB, free: 5.574 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.37e-05/3.619, allocations: 67.7 kB / 1.71 GB, free: 5.504 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/3.619, allocations: 63.94 kB / 1.71 GB, free: 5.441 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00125/3.62, allocations: 0.6913 MB / 1.71 GB, free: 4.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/3.622, allocations: 0.874 MB / 1.711 GB, free: 3.844 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/3.622, allocations: 0 / 1.711 GB, free: 3.844 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/3.622, allocations: 4 kB / 1.711 GB, free: 3.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/3.622, allocations: 27.98 kB / 1.711 GB, free: 3.812 MB / 0.698 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.6157/4.238, allocations: 4.803 MB / 1.716 GB, free: 95.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/4.239, allocations: 0.5621 MB / 1.717 GB, free: 95.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005515/4.24, allocations: 280.3 kB / 1.717 GB, free: 95.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/4.241, allocations: 1.595 MB / 1.718 GB, free: 93.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/4.241, allocations: 41.88 kB / 1.718 GB, free: 93.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 2.676e-06/4.241, allocations: 0 / 1.718 GB, free: 93.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.002738/4.244, allocations: 0.734 MB / 1.719 GB, free: 93.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/4.244, allocations: 57.44 kB / 1.719 GB, free: 93.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/4.246, allocations: 1.104 MB / 1.72 GB, free: 93.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/4.246, allocations: 26.55 kB / 1.72 GB, free: 93.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007276/4.247, allocations: 0.6835 MB / 1.721 GB, free: 93.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/4.247, allocations: 213.3 kB / 1.721 GB, free: 93.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/4.247, allocations: 0 / 1.721 GB, free: 93.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001141/4.248, allocations: 338.8 kB / 1.722 GB, free: 92.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/4.248, allocations: 229.3 kB / 1.722 GB, free: 92.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/4.249, allocations: 416.9 kB / 1.722 GB, free: 92.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/4.25, allocations: 425.5 kB / 1.723 GB, free: 92.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-06/4.25, allocations: 1.625 kB / 1.723 GB, free: 92.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00257/4.253, allocations: 0.9119 MB / 1.723 GB, free: 92.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003906/4.253, allocations: 1.338 MB / 1.725 GB, free: 91.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/4.253, allocations: 4.281 kB / 1.725 GB, free: 91.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.171e-05/4.253, allocations: 6.531 kB / 1.725 GB, free: 91.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/4.255, allocations: 247.5 kB / 1.725 GB, free: 91.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/4.255, allocations: 13.69 kB / 1.725 GB, free: 91.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/4.256, allocations: 173.5 kB / 1.725 GB, free: 91.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/4.256, allocations: 43.77 kB / 1.725 GB, free: 91.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/4.256, allocations: 3.625 kB / 1.725 GB, free: 91.12 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002027/4.258, allocations: 0.7514 MB / 1.726 GB, free: 91.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/4.258, allocations: 3 kB / 1.726 GB, free: 91.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/4.258, allocations: 9.188 kB / 1.726 GB, free: 91.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009698/4.259, allocations: 244.5 kB / 1.726 GB, free: 91.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/4.259, allocations: 9.531 kB / 1.726 GB, free: 91.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/4.261, allocations: 164.1 kB / 1.726 GB, free: 91.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.225e-05/4.261, allocations: 49.22 kB / 1.726 GB, free: 91.08 MB / 0.698 GB Warning: Assuming fixed start value for the following 2 variables: chiller.volEva.dynBal.U:VARIABLE(start = chiller.volEva.dynBal.fluidVolume * chiller.volEva.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volEva$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volEva$dynBal.Medium.setState_pTX(chiller.volEva.dynBal.p_start, chiller.volEva.dynBal.T_start, {})) + (-273.15 + chiller.volEva.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real chiller.volCon.dynBal.U:VARIABLE(start = chiller.volCon.dynBal.fluidVolume * chiller.volCon.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volCon$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volCon$dynBal.Medium.setState_pTX(chiller.volCon.dynBal.p_start, chiller.volCon.dynBal.T_start, {})) + (-273.15 + chiller.volCon.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004275/4.262, allocations: 174.8 kB / 1.727 GB, free: 90.96 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002031/4.264, allocations: 0.731 MB / 1.727 GB, free: 90.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/4.264, allocations: 129.1 kB / 1.727 GB, free: 90.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/4.266, allocations: 1.072 MB / 1.728 GB, free: 90.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/4.266, allocations: 12.89 kB / 1.728 GB, free: 90.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/4.266, allocations: 12.67 kB / 1.728 GB, free: 90.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001532/4.268, allocations: 0.8279 MB / 1.729 GB, free: 90.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00534/4.273, allocations: 2.548 MB / 1.732 GB, free: 89.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/4.273, allocations: 3.938 kB / 1.732 GB, free: 89.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009349/4.274, allocations: 196.3 kB / 1.732 GB, free: 89.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/4.274, allocations: 8.906 kB / 1.732 GB, free: 89.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.56e-05/4.274, allocations: 21.42 kB / 1.732 GB, free: 89.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/4.274, allocations: 6.125 kB / 1.732 GB, free: 89.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/4.274, allocations: 7.812 kB / 1.732 GB, free: 89.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002874/4.277, allocations: 1.652 MB / 1.734 GB, free: 89.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007838/4.278, allocations: 360.6 kB / 1.734 GB, free: 89.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/4.278, allocations: 9.125 kB / 1.734 GB, free: 89.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/4.279, allocations: 119.6 kB / 1.734 GB, free: 89.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/4.279, allocations: 54.28 kB / 1.734 GB, free: 89.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.191e-05/4.279, allocations: 40.81 kB / 1.734 GB, free: 89.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001483/4.281, allocations: 0.8414 MB / 1.735 GB, free: 89.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/4.281, allocations: 0 / 1.735 GB, free: 89.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002942/4.284, allocations: 0.8043 MB / 1.736 GB, free: 89.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (senTemConIn.T,senTemConOut.T,chiller.volCon.dynBal.U,chiller.volEva.dynBal.U,senTemEvaIn.T,senTemEvaOut.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004957/4.289, allocations: 4.04 MB / 1.74 GB, free: 86.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002165/4.291, allocations: 1.057 MB / 1.741 GB, free: 86.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/4.291, allocations: 0 / 1.741 GB, free: 86.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005509/4.292, allocations: 377.7 kB / 1.741 GB, free: 86.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/4.295, allocations: 0.5478 MB / 1.742 GB, free: 86.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006162/4.301, allocations: 2.565 MB / 1.744 GB, free: 86.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/4.302, allocations: 1.276 MB / 1.745 GB, free: 85.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002283/4.304, allocations: 0.5416 MB / 1.746 GB, free: 85.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007716/4.305, allocations: 0.5528 MB / 1.746 GB, free: 85.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.192e-06/4.305, allocations: 0 / 1.746 GB, free: 85.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08118/4.386, allocations: 40.01 MB / 1.786 GB, free: 83.93 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/4.387, allocations: 194.1 kB / 1.786 GB, free: 83.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.918/8.304, allocations: 3.281 kB / 1.786 GB, free: 83.73 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChiller_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChiller.fmu > BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.pipe 2>&1)