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.8107/0.8107, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.00107/0.00107, allocations: 180.9 kB / 182.2 MB, free: 9.453 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.505/1.505, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0009587/0.0009588, allocations: 90.08 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003095/0.003095, allocations: 280.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 4.368e-05/4.344e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5569/0.557, allocations: 82.77 MB / 0.7575 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8142/1.371, allocations: 370.6 MB / 1.119 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/1.371, allocations: 89.25 kB / 1.119 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.8715/2.243, allocations: 244.3 MB / 1.358 GB, free: 92.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.054e-06/2.243, allocations: 0 / 1.358 GB, free: 92.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.764e-05/2.243, allocations: 23.94 kB / 1.358 GB, free: 92.8 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.001309/2.244, allocations: 0.8649 MB / 1.359 GB, free: 91.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/2.244, allocations: 12.03 kB / 1.359 GB, free: 91.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/2.245, allocations: 83.06 kB / 1.359 GB, free: 91.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02313/2.268, allocations: 12.37 MB / 1.371 GB, free: 79.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/2.268, allocations: 16 kB / 1.371 GB, free: 79.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.309e-05/2.268, allocations: 24 kB / 1.371 GB, free: 79.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006048/2.269, allocations: 262.6 kB / 1.371 GB, free: 78.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/2.269, allocations: 426.2 kB / 1.372 GB, free: 78.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/2.269, allocations: 0 / 1.372 GB, free: 78.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/2.269, allocations: 7.875 kB / 1.372 GB, free: 78.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/2.269, allocations: 15.98 kB / 1.372 GB, free: 78.48 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.002777/2.272, allocations: 2.645 MB / 1.374 GB, free: 75.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/2.273, allocations: 172.6 kB / 1.375 GB, free: 75.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/2.273, allocations: 89.22 kB / 1.375 GB, free: 75.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/2.273, allocations: 340.6 kB / 1.375 GB, free: 74.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/2.273, allocations: 46.73 kB / 1.375 GB, free: 74.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 3.927e-06/2.273, allocations: 0 / 1.375 GB, free: 74.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.000579/2.274, allocations: 227.9 kB / 1.375 GB, free: 74.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/2.274, allocations: 51.41 kB / 1.375 GB, free: 74.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/2.274, allocations: 434.2 kB / 1.376 GB, free: 74.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/2.274, allocations: 29.7 kB / 1.376 GB, free: 74.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/2.274, allocations: 339.3 kB / 1.376 GB, free: 73.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/2.274, allocations: 78.84 kB / 1.376 GB, free: 73.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/2.274, allocations: 0 / 1.376 GB, free: 73.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/2.274, allocations: 358.8 kB / 1.376 GB, free: 73.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/2.275, allocations: 79.94 kB / 1.377 GB, free: 73.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/2.275, allocations: 226.8 kB / 1.377 GB, free: 72.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/2.275, allocations: 121.4 kB / 1.377 GB, free: 72.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/2.275, allocations: 4 kB / 1.377 GB, free: 72.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004825/2.275, allocations: 352.8 kB / 1.377 GB, free: 72.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004316/2.276, allocations: 1.66 MB / 1.379 GB, free: 70.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/2.276, allocations: 4 kB / 1.379 GB, free: 70.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/2.276, allocations: 8 kB / 1.379 GB, free: 70.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/2.276, allocations: 79.84 kB / 1.379 GB, free: 70.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.586e-05/2.276, allocations: 4 kB / 1.379 GB, free: 70.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/2.277, allocations: 59.5 kB / 1.379 GB, free: 70.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/2.277, allocations: 20 kB / 1.379 GB, free: 70.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/2.277, allocations: 7.953 kB / 1.379 GB, free: 70.54 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003827/2.277, allocations: 255.7 kB / 1.379 GB, free: 70.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/2.277, allocations: 8 kB / 1.379 GB, free: 70.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/2.277, allocations: 11.92 kB / 1.379 GB, free: 70.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/2.277, allocations: 75.91 kB / 1.379 GB, free: 70.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/2.277, allocations: 11.94 kB / 1.379 GB, free: 70.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/2.278, allocations: 44.03 kB / 1.379 GB, free: 70.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/2.278, allocations: 16 kB / 1.379 GB, free: 70.13 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 8.498e-05/2.278, allocations: 112.9 kB / 1.38 GB, free: 70.01 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003324/2.278, allocations: 235.2 kB / 1.38 GB, free: 69.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/2.278, allocations: 51.44 kB / 1.38 GB, free: 69.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004593/2.279, allocations: 260.6 kB / 1.38 GB, free: 69.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/2.279, allocations: 0 / 1.38 GB, free: 69.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/2.279, allocations: 0 / 1.38 GB, free: 69.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002938/2.279, allocations: 365.4 kB / 1.38 GB, free: 69.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/2.28, allocations: 0.9535 MB / 1.381 GB, free: 68.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/2.28, allocations: 0 / 1.381 GB, free: 68.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/2.281, allocations: 59.91 kB / 1.381 GB, free: 67.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/2.281, allocations: 4 kB / 1.381 GB, free: 67.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/2.281, allocations: 4 kB / 1.381 GB, free: 67.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/2.281, allocations: 0 / 1.381 GB, free: 67.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/2.281, allocations: 4.281 kB / 1.381 GB, free: 67.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/2.281, allocations: 0.6003 MB / 1.382 GB, free: 67.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/2.281, allocations: 176.3 kB / 1.382 GB, free: 67.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/2.281, allocations: 4 kB / 1.382 GB, free: 67.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/2.282, allocations: 35.81 kB / 1.382 GB, free: 67.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/2.282, allocations: 16.05 kB / 1.382 GB, free: 67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/2.282, allocations: 19.98 kB / 1.382 GB, free: 66.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003182/2.282, allocations: 334.9 kB / 1.383 GB, free: 66.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/2.282, allocations: 0 / 1.383 GB, free: 66.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001074/2.283, allocations: 359.1 kB / 1.383 GB, free: 66.3 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.001493/2.285, allocations: 2.055 MB / 1.385 GB, free: 64.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005782/2.285, allocations: 376.4 kB / 1.385 GB, free: 63.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/2.285, allocations: 4 kB / 1.385 GB, free: 63.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/2.285, allocations: 95.78 kB / 1.385 GB, free: 63.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/2.287, allocations: 318.5 kB / 1.386 GB, free: 63.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/2.289, allocations: 0.9553 MB / 1.387 GB, free: 62.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/2.289, allocations: 0.9065 MB / 1.387 GB, free: 61.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006499/2.29, allocations: 172.7 kB / 1.388 GB, free: 61.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/2.29, allocations: 203.4 kB / 1.388 GB, free: 61.08 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/2.29, allocations: 0 / 1.388 GB, free: 61.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/2.326, allocations: 16.86 MB / 1.404 GB, free: 44.36 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/2.326, allocations: 193.3 kB / 1.404 GB, free: 44.17 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/4.808, allocations: 0 / 1.404 GB, free: 44.17 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)