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.6861/0.6861, 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.00107/0.00107, allocations: 183.8 kB / 187.3 MB, free: 11.89 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.201/1.201, allocations: 221.3 MB / 441.4 MB, free: 4.625 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.0007621/0.0007614, allocations: 94.02 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001603/0.001603, allocations: 267.4 kB / 0.5939 GB, free: 8 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.056e-05, allocations: 4 kB / 0.6835 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3485, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6395/0.988, allocations: 371.3 MB / 1.127 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.9883, allocations: 90.94 kB / 1.127 GB, free: 3.289 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7723/1.761, allocations: 245.6 MB / 1.367 GB, free: 96.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.222e-06/1.761, allocations: 0 / 1.367 GB, free: 96.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.731e-05/1.761, allocations: 16 kB / 1.367 GB, free: 96.64 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.0009436/1.762, allocations: 0.8778 MB / 1.368 GB, free: 95.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.762, allocations: 8.031 kB / 1.368 GB, free: 95.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.863e-05/1.762, allocations: 86.53 kB / 1.368 GB, free: 95.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/1.762, allocations: 83.14 kB / 1.368 GB, free: 95.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02017/1.782, allocations: 12.4 MB / 1.38 GB, free: 82.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/1.782, allocations: 33 kB / 1.38 GB, free: 82.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.232e-05/1.782, allocations: 48 kB / 1.38 GB, free: 82.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/1.783, allocations: 492.1 kB / 1.381 GB, free: 82.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/1.783, allocations: 0 / 1.381 GB, free: 82.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/1.783, allocations: 20 kB / 1.381 GB, free: 82.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/1.783, allocations: 12 kB / 1.381 GB, free: 82.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/1.784, allocations: 295.8 kB / 1.381 GB, free: 82.05 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.00203/1.786, allocations: 2.727 MB / 1.383 GB, free: 79.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/1.786, allocations: 189 kB / 1.384 GB, free: 78.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/1.786, allocations: 93.22 kB / 1.384 GB, free: 78.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/1.786, allocations: 340.6 kB / 1.384 GB, free: 78.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/1.786, allocations: 34.75 kB / 1.384 GB, free: 78.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 1.864e-06/1.786, allocations: 0 / 1.384 GB, free: 78.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.0003882/1.787, allocations: 239.7 kB / 1.384 GB, free: 78.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/1.787, allocations: 55.41 kB / 1.384 GB, free: 78.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/1.787, allocations: 460.8 kB / 1.385 GB, free: 77.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/1.787, allocations: 33.7 kB / 1.385 GB, free: 77.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/1.787, allocations: 351.3 kB / 1.385 GB, free: 77.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/1.787, allocations: 74.86 kB / 1.385 GB, free: 77.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/1.787, allocations: 12 kB / 1.385 GB, free: 77.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.63e-05/1.787, allocations: 362.7 kB / 1.386 GB, free: 76.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/1.787, allocations: 91.92 kB / 1.386 GB, free: 76.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/1.788, allocations: 222.9 kB / 1.386 GB, free: 76.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/1.788, allocations: 122.9 kB / 1.386 GB, free: 76.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.788, allocations: 4 kB / 1.386 GB, free: 76.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004034/1.788, allocations: 384.4 kB / 1.386 GB, free: 75.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/1.788, allocations: 1.649 MB / 1.388 GB, free: 74.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/1.788, allocations: 4 kB / 1.388 GB, free: 74.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.788, allocations: 8 kB / 1.388 GB, free: 74.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/1.789, allocations: 87.83 kB / 1.388 GB, free: 74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/1.789, allocations: 15.94 kB / 1.388 GB, free: 73.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/1.789, allocations: 59.56 kB / 1.388 GB, free: 73.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/1.789, allocations: 12 kB / 1.388 GB, free: 73.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-06/1.789, allocations: 8 kB / 1.388 GB, free: 73.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003346/1.789, allocations: 304.1 kB / 1.389 GB, free: 73.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/1.79, allocations: 4 kB / 1.389 GB, free: 73.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-06/1.79, allocations: 12.09 kB / 1.389 GB, free: 73.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/1.79, allocations: 87.78 kB / 1.389 GB, free: 73.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/1.79, allocations: 11.98 kB / 1.389 GB, free: 73.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/1.79, allocations: 43.67 kB / 1.389 GB, free: 73.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/1.79, allocations: 27.98 kB / 1.389 GB, free: 73.42 MB / 0.698 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 () * 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 6.786e-05/1.79, allocations: 129.8 kB / 1.389 GB, free: 73.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/1.79, allocations: 63.3 kB / 1.389 GB, free: 73.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/1.791, allocations: 262.3 kB / 1.389 GB, free: 72.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/1.791, allocations: 4 kB / 1.389 GB, free: 72.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/1.791, allocations: 0 / 1.389 GB, free: 72.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002399/1.791, allocations: 373.3 kB / 1.389 GB, free: 72.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/1.792, allocations: 1.045 MB / 1.391 GB, free: 71.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.792, allocations: 8 kB / 1.391 GB, free: 71.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/1.792, allocations: 51.98 kB / 1.391 GB, free: 71.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/1.792, allocations: 4 kB / 1.391 GB, free: 71.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/1.792, allocations: 11.98 kB / 1.391 GB, free: 71.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.792, allocations: 7.938 kB / 1.391 GB, free: 71.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.792, allocations: 0 / 1.391 GB, free: 71.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/1.793, allocations: 0.6165 MB / 1.391 GB, free: 70.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/1.793, allocations: 184.2 kB / 1.391 GB, free: 70.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/1.793, allocations: 8 kB / 1.391 GB, free: 70.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/1.793, allocations: 28.05 kB / 1.391 GB, free: 70.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/1.793, allocations: 23.97 kB / 1.391 GB, free: 70.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/1.793, allocations: 15.97 kB / 1.391 GB, free: 70.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003236/1.794, allocations: 397.5 kB / 1.392 GB, free: 69.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.794, allocations: 0 / 1.392 GB, free: 69.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008936/1.795, allocations: 387.2 kB / 1.392 GB, free: 69.56 MB / 0.698 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 () * 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.001148/1.796, allocations: 2.065 MB / 1.394 GB, free: 67.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004678/1.796, allocations: 405.3 kB / 1.395 GB, free: 67.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.796, allocations: 0 / 1.395 GB, free: 67.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/1.796, allocations: 110.3 kB / 1.395 GB, free: 66.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/1.798, allocations: 367.2 kB / 1.395 GB, free: 66.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/1.799, allocations: 0.9991 MB / 1.396 GB, free: 65.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/1.799, allocations: 0.9109 MB / 1.397 GB, free: 64.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005879/1.8, allocations: 196.9 kB / 1.397 GB, free: 64.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/1.8, allocations: 207.4 kB / 1.397 GB, free: 64.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/1.8, allocations: 0 / 1.397 GB, free: 64.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/1.829, allocations: 20.32 MB / 1.417 GB, free: 44.12 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/1.83, allocations: 213.7 kB / 1.417 GB, free: 43.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/4.193, allocations: 0 / 1.417 GB, free: 43.89 MB / 0.698 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)