Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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.856/0.856, allocations: 143.3 MB / 158.3 MB, free: 5.77 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.001147/0.001147, allocations: 177 kB / 191.5 MB, free: 5.758 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.504/1.504, allocations: 223.1 MB / 447.7 MB, free: 4.824 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.001134/0.001134, allocations: 96.38 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002575/0.002576, allocations: 277.7 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004485, allocations: 13.78 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1918, allocations: 82.8 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9341/1.126, allocations: 371.3 MB / 1.136 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/1.126, allocations: 92.14 kB / 1.136 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.9508/2.077, allocations: 246.3 MB / 1.377 GB, free: 74.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.424e-06/2.077, allocations: 0 / 1.377 GB, free: 74.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.22e-05/2.077, allocations: 20 kB / 1.377 GB, free: 74.87 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001742/2.079, allocations: 0.994 MB / 1.378 GB, free: 73.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/2.079, allocations: 8.562 kB / 1.378 GB, free: 73.82 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.491e-05/2.079, allocations: 82.53 kB / 1.378 GB, free: 73.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/2.08, allocations: 87.05 kB / 1.378 GB, free: 73.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02305/2.103, allocations: 12.49 MB / 1.39 GB, free: 60.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/2.103, allocations: 36.94 kB / 1.39 GB, free: 60.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.472e-05/2.103, allocations: 48 kB / 1.39 GB, free: 60.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000824/2.104, allocations: 492.1 kB / 1.391 GB, free: 60.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/2.104, allocations: 7.938 kB / 1.391 GB, free: 60.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/2.104, allocations: 20 kB / 1.391 GB, free: 60.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/2.104, allocations: 12 kB / 1.391 GB, free: 60.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/2.104, allocations: 303.7 kB / 1.391 GB, free: 60.05 MB / 0.7136 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.002545/2.107, allocations: 2.716 MB / 1.394 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/2.107, allocations: 179.1 kB / 1.394 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002964/2.107, allocations: 344.5 kB / 1.394 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/2.107, allocations: 42.73 kB / 1.394 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.843e-06/2.107, allocations: 0 / 1.394 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0005208/2.108, allocations: 299.6 kB / 1.395 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/2.108, allocations: 51.41 kB / 1.395 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/2.108, allocations: 470.1 kB / 1.395 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/2.109, allocations: 33.7 kB / 1.395 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/2.109, allocations: 347.3 kB / 1.396 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/2.109, allocations: 82.84 kB / 1.396 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/2.109, allocations: 8 kB / 1.396 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001144/2.109, allocations: 366.7 kB / 1.396 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/2.109, allocations: 83.95 kB / 1.396 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/2.109, allocations: 234.8 kB / 1.396 GB, free: 54.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/2.109, allocations: 129.4 kB / 1.396 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/2.109, allocations: 4 kB / 1.396 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004463/2.11, allocations: 381.8 kB / 1.397 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003621/2.11, allocations: 1.655 MB / 1.398 GB, free: 52.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/2.11, allocations: 4 kB / 1.398 GB, free: 52.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/2.11, allocations: 12 kB / 1.398 GB, free: 52.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/2.111, allocations: 79.83 kB / 1.399 GB, free: 52.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/2.111, allocations: 4 kB / 1.399 GB, free: 52.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/2.111, allocations: 67.55 kB / 1.399 GB, free: 51.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/2.111, allocations: 20 kB / 1.399 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/2.111, allocations: 4 kB / 1.399 GB, free: 51.92 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003781/2.112, allocations: 311 kB / 1.399 GB, free: 51.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/2.112, allocations: 4 kB / 1.399 GB, free: 51.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/2.112, allocations: 4 kB / 1.399 GB, free: 51.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/2.112, allocations: 79.84 kB / 1.399 GB, free: 51.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/2.112, allocations: 7.984 kB / 1.399 GB, free: 51.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/2.112, allocations: 51.73 kB / 1.399 GB, free: 51.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/2.112, allocations: 23.98 kB / 1.399 GB, free: 51.45 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0002629/2.112, allocations: 273 kB / 1.399 GB, free: 51.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-05/2.113, allocations: 63.23 kB / 1.399 GB, free: 51.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004311/2.113, allocations: 278.4 kB / 1.4 GB, free: 50.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/2.113, allocations: 0 / 1.4 GB, free: 50.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/2.113, allocations: 7.984 kB / 1.4 GB, free: 50.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002644/2.113, allocations: 384.2 kB / 1.4 GB, free: 50.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/2.115, allocations: 1.039 MB / 1.401 GB, free: 49.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/2.115, allocations: 0 / 1.401 GB, free: 49.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/2.115, allocations: 51.91 kB / 1.401 GB, free: 49.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/2.115, allocations: 4 kB / 1.401 GB, free: 49.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/2.115, allocations: 16.06 kB / 1.401 GB, free: 49.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/2.115, allocations: 3.938 kB / 1.401 GB, free: 49.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/2.115, allocations: 15.91 kB / 1.401 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/2.115, allocations: 0.6194 MB / 1.402 GB, free: 48.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/2.116, allocations: 176.4 kB / 1.402 GB, free: 48.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/2.116, allocations: 16.05 kB / 1.402 GB, free: 48.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/2.116, allocations: 27.83 kB / 1.402 GB, free: 48.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/2.116, allocations: 23.97 kB / 1.402 GB, free: 48.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/2.116, allocations: 16 kB / 1.402 GB, free: 48.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003802/2.117, allocations: 394.8 kB / 1.402 GB, free: 47.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/2.117, allocations: 0 / 1.402 GB, free: 47.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001147/2.118, allocations: 383.2 kB / 1.403 GB, free: 47.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00148/2.119, allocations: 2.069 MB / 1.405 GB, free: 45.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005695/2.12, allocations: 397.1 kB / 1.405 GB, free: 44.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/2.12, allocations: 4.625 kB / 1.405 GB, free: 44.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/2.12, allocations: 103.9 kB / 1.405 GB, free: 44.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/2.121, allocations: 379.7 kB / 1.406 GB, free: 44.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/2.126, allocations: 5.979 MB / 1.411 GB, free: 38.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/2.127, allocations: 0.9061 MB / 1.412 GB, free: 37.33 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007494/2.127, allocations: 161 kB / 1.412 GB, free: 37.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/2.128, allocations: 215.3 kB / 1.413 GB, free: 36.96 MB / 0.7136 GB Notification: Performance of SimCode: time 6.081e-06/2.128, allocations: 0 / 1.413 GB, free: 36.96 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/2.163, allocations: 19.4 MB / 1.432 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/2.164, allocations: 237.4 kB / 1.432 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.726/4.89, allocations: 0 / 1.432 GB, free: 17.66 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)