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.7721/0.7721, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 182.6 kB / 187.2 MB, free: 11.91 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.498/1.498, allocations: 221.3 MB / 441.4 MB, free: 4.621 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.0008765/0.0008764, allocations: 98.94 kB / 0.5124 GB, free: 24.33 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001799/0.0018, allocations: 263.3 kB / 0.5939 GB, free: 7.996 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.524e-05/4.525e-05, allocations: 8 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5295/0.5296, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8728/1.402, allocations: 383.9 MB / 1.139 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/1.403, allocations: 93.02 kB / 1.139 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.069/3.472, allocations: 0.5772 GB / 1.716 GB, free: 8.246 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.923e-06/3.472, allocations: 0 / 1.716 GB, free: 8.246 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002694/3.472, allocations: 47.92 kB / 1.717 GB, free: 8.199 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.004773/3.477, allocations: 1.672 MB / 1.718 GB, free: 6.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/3.477, allocations: 8.031 kB / 1.718 GB, free: 6.473 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004698/3.477, allocations: 151.9 kB / 1.718 GB, free: 6.316 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/3.48, allocations: 481.4 kB / 1.719 GB, free: 5.844 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/3.484, allocations: 1.624 MB / 1.72 GB, free: 4.164 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/3.484, allocations: 99.7 kB / 1.72 GB, free: 4.062 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/3.485, allocations: 100 kB / 1.721 GB, free: 3.965 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/3.487, allocations: 1.007 MB / 1.722 GB, free: 2.922 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/3.487, allocations: 7.938 kB / 1.722 GB, free: 2.914 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/3.487, allocations: 36 kB / 1.722 GB, free: 2.879 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/3.487, allocations: 24 kB / 1.722 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/3.488, allocations: 0.7497 MB / 1.722 GB, free: 2.105 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.5144/4.003, allocations: 5.028 MB / 1.727 GB, free: 91.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/4.004, allocations: 0.5885 MB / 1.728 GB, free: 91.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/4.005, allocations: 304.9 kB / 1.728 GB, free: 91.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/4.006, allocations: 1.597 MB / 1.73 GB, free: 89.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/4.006, allocations: 41.94 kB / 1.73 GB, free: 89.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 3.166e-06/4.006, allocations: 0 / 1.73 GB, free: 89.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.001834/4.008, allocations: 0.6633 MB / 1.73 GB, free: 89.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/4.008, allocations: 57.84 kB / 1.73 GB, free: 89.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/4.011, allocations: 1.328 MB / 1.732 GB, free: 89.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/4.011, allocations: 41.64 kB / 1.732 GB, free: 89.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005737/4.011, allocations: 0.6743 MB / 1.732 GB, free: 88.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/4.012, allocations: 222.6 kB / 1.733 GB, free: 88.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/4.012, allocations: 14.31 kB / 1.733 GB, free: 88.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.763e-05/4.012, allocations: 337.6 kB / 1.733 GB, free: 88.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/4.012, allocations: 244.6 kB / 1.733 GB, free: 88.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/4.013, allocations: 434.8 kB / 1.734 GB, free: 88.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/4.013, allocations: 294.7 kB / 1.734 GB, free: 88.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/4.013, allocations: 6.062 kB / 1.734 GB, free: 88.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001462/4.015, allocations: 0.8386 MB / 1.735 GB, free: 88.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002583/4.015, allocations: 1.356 MB / 1.736 GB, free: 86.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/4.015, allocations: 3.5 kB / 1.736 GB, free: 86.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/4.015, allocations: 10.31 kB / 1.736 GB, free: 86.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/4.016, allocations: 250.6 kB / 1.736 GB, free: 86.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/4.016, allocations: 6.406 kB / 1.736 GB, free: 86.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/4.018, allocations: 216.2 kB / 1.737 GB, free: 86.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/4.018, allocations: 42.06 kB / 1.737 GB, free: 86.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/4.018, allocations: 4.688 kB / 1.737 GB, free: 86.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/4.019, allocations: 0.6809 MB / 1.737 GB, free: 86.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/4.019, allocations: 3.188 kB / 1.737 GB, free: 86.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/4.019, allocations: 10.28 kB / 1.737 GB, free: 86.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/4.02, allocations: 252 kB / 1.737 GB, free: 86.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/4.02, allocations: 10.19 kB / 1.737 GB, free: 86.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/4.021, allocations: 192.1 kB / 1.738 GB, free: 86.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-05/4.022, allocations: 43.14 kB / 1.738 GB, free: 86.76 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.0003617/4.022, allocations: 213.2 kB / 1.738 GB, free: 86.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003445/4.022, allocations: 150.3 kB / 1.738 GB, free: 86.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/4.024, allocations: 1.055 MB / 1.739 GB, free: 86.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/4.024, allocations: 14.52 kB / 1.739 GB, free: 86.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/4.024, allocations: 0 / 1.739 GB, free: 86.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000955/4.025, allocations: 0.7804 MB / 1.74 GB, free: 86.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004754/4.03, allocations: 2.672 MB / 1.742 GB, free: 85.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/4.03, allocations: 3.781 kB / 1.742 GB, free: 85.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008778/4.031, allocations: 210.6 kB / 1.743 GB, free: 85.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.616e-05/4.031, allocations: 6.625 kB / 1.743 GB, free: 85.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.488e-05/4.031, allocations: 24.77 kB / 1.743 GB, free: 85.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/4.031, allocations: 3.906 kB / 1.743 GB, free: 85.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/4.031, allocations: 5.438 kB / 1.743 GB, free: 85.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/4.033, allocations: 1.675 MB / 1.744 GB, free: 84.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008067/4.034, allocations: 383 kB / 1.745 GB, free: 84.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003718/4.034, allocations: 18.19 kB / 1.745 GB, free: 84.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/4.036, allocations: 139.2 kB / 1.745 GB, free: 84.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/4.036, allocations: 62.69 kB / 1.745 GB, free: 84.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.831e-05/4.036, allocations: 35.5 kB / 1.745 GB, free: 84.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001795/4.038, allocations: 1.061 MB / 1.746 GB, free: 84.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/4.038, allocations: 0 / 1.746 GB, free: 84.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002791/4.04, allocations: 0.8172 MB / 1.747 GB, free: 84.59 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.004674/4.045, allocations: 4.041 MB / 1.751 GB, free: 82.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002016/4.047, allocations: 1.127 MB / 1.752 GB, free: 82.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/4.047, allocations: 3.594 kB / 1.752 GB, free: 82.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000551/4.048, allocations: 392.8 kB / 1.752 GB, free: 82.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004257/4.052, allocations: 0.7622 MB / 1.753 GB, free: 82.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/4.059, allocations: 2.665 MB / 1.756 GB, free: 81.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/4.06, allocations: 1.273 MB / 1.757 GB, free: 81.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003011/4.063, allocations: 0.5907 MB / 1.757 GB, free: 81.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008572/4.064, allocations: 0.5626 MB / 1.758 GB, free: 81.03 MB / 0.698 GB Notification: Performance of SimCode: time 1.773e-06/4.064, allocations: 0 / 1.758 GB, free: 81.03 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08971/4.153, allocations: 51.27 MB / 1.808 GB, free: 78.98 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/4.154, allocations: 214.1 kB / 1.808 GB, free: 78.76 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.822/7.976, allocations: 6.844 kB / 1.808 GB, free: 78.76 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)