Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.9/0.9, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001101/0.001101, allocations: 192.6 kB / 182.2 MB, free: 9.434 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.623/1.623, 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.0009597/0.0009597, allocations: 95.84 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 281.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.129e-05/2.147e-05, allocations: 7.984 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4882/0.4883, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.248/5.737, allocations: 1.881 GB / 2.639 GB, free: 177.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/5.737, allocations: 79.95 kB / 2.639 GB, free: 177 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.203/6.94, allocations: 367.7 MB / 2.998 GB, free: 83.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.535e-06/6.94, allocations: 0 / 2.998 GB, free: 83.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.209e-05/6.94, allocations: 19.98 kB / 2.998 GB, free: 83.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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002274/6.943, allocations: 0.8782 MB / 2.999 GB, free: 82.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/6.943, allocations: 12.03 kB / 2.999 GB, free: 82.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/6.944, allocations: 175 kB / 2.999 GB, free: 82.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/6.946, allocations: 0.5404 MB / 2.999 GB, free: 82.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/6.946, allocations: 12 kB / 2.999 GB, free: 82.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/6.946, allocations: 28 kB / 2.999 GB, free: 82.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007751/6.947, allocations: 354.4 kB / 3 GB, free: 81.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007034/6.947, allocations: 363.9 kB / 3 GB, free: 81.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/6.947, allocations: 0 / 3 GB, free: 81.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/6.947, allocations: 4 kB / 3 GB, free: 81.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/6.947, allocations: 21.28 kB / 3 GB, free: 81.34 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.002883/6.95, allocations: 1.92 MB / 3.002 GB, free: 79.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/6.951, allocations: 246.5 kB / 3.002 GB, free: 79.01 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/6.951, allocations: 160.8 kB / 3.002 GB, free: 78.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/6.951, allocations: 194.2 kB / 3.002 GB, free: 78.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/6.951, allocations: 38.56 kB / 3.003 GB, free: 78.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 2.415e-06/6.951, allocations: 4 kB / 3.003 GB, free: 78.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.0009713/6.952, allocations: 366.8 kB / 3.003 GB, free: 78.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/6.952, allocations: 59.34 kB / 3.003 GB, free: 78.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/6.953, allocations: 325.3 kB / 3.003 GB, free: 77.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/6.953, allocations: 25.7 kB / 3.003 GB, free: 77.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/6.953, allocations: 284 kB / 3.004 GB, free: 77.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/6.953, allocations: 102.4 kB / 3.004 GB, free: 77.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/6.953, allocations: 0 / 3.004 GB, free: 77.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/6.953, allocations: 362.7 kB / 3.004 GB, free: 77.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/6.953, allocations: 104 kB / 3.004 GB, free: 76.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/6.953, allocations: 185.4 kB / 3.004 GB, free: 76.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/6.954, allocations: 133.5 kB / 3.004 GB, free: 76.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/6.954, allocations: 0 / 3.004 GB, free: 76.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004702/6.954, allocations: 345 kB / 3.005 GB, free: 76.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/6.954, allocations: 0.5255 MB / 3.005 GB, free: 75.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/6.954, allocations: 4 kB / 3.005 GB, free: 75.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/6.954, allocations: 4 kB / 3.005 GB, free: 75.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/6.955, allocations: 79.83 kB / 3.005 GB, free: 75.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/6.955, allocations: 3.938 kB / 3.005 GB, free: 75.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/6.955, allocations: 55.61 kB / 3.005 GB, free: 75.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/6.955, allocations: 15.98 kB / 3.005 GB, free: 75.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/6.955, allocations: 5.562 kB / 3.005 GB, free: 75.52 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003759/6.956, allocations: 267.8 kB / 3.006 GB, free: 75.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/6.956, allocations: 0 / 3.006 GB, free: 75.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/6.956, allocations: 4 kB / 3.006 GB, free: 75.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/6.956, allocations: 71.91 kB / 3.006 GB, free: 75.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/6.956, allocations: 7.984 kB / 3.006 GB, free: 75.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/6.957, allocations: 39.97 kB / 3.006 GB, free: 75.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/6.957, allocations: 12 kB / 3.006 GB, free: 75.12 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001097/6.957, allocations: 108.9 kB / 3.006 GB, free: 75.01 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005474/6.957, allocations: 341.8 kB / 3.006 GB, free: 74.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/6.957, allocations: 47.44 kB / 3.006 GB, free: 74.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/6.958, allocations: 351.4 kB / 3.007 GB, free: 74.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/6.958, allocations: 7.953 kB / 3.007 GB, free: 74.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/6.958, allocations: 0 / 3.007 GB, free: 74.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004374/6.958, allocations: 397.9 kB / 3.007 GB, free: 73.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/6.96, allocations: 1.009 MB / 3.008 GB, free: 72.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/6.96, allocations: 4.219 kB / 3.008 GB, free: 72.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/6.96, allocations: 63.91 kB / 3.008 GB, free: 72.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000227/6.96, allocations: 44.83 kB / 3.008 GB, free: 72.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/6.96, allocations: 4 kB / 3.008 GB, free: 72.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009969/6.961, allocations: 1.409 MB / 3.009 GB, free: 71.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/6.961, allocations: 4.031 kB / 3.009 GB, free: 71.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007607/6.962, allocations: 0.7249 MB / 3.01 GB, free: 70.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/6.962, allocations: 164.4 kB / 3.01 GB, free: 70.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/6.963, allocations: 4 kB / 3.01 GB, free: 70.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/6.963, allocations: 32.03 kB / 3.01 GB, free: 70.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/6.963, allocations: 23.97 kB / 3.01 GB, free: 70.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/6.963, allocations: 19.92 kB / 3.01 GB, free: 70.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002914/6.963, allocations: 259 kB / 3.011 GB, free: 69.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.513e-06/6.963, allocations: 0 / 3.011 GB, free: 69.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001476/6.965, allocations: 395 kB / 3.011 GB, free: 69.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003102/6.968, allocations: 2.901 MB / 3.014 GB, free: 66.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007024/6.969, allocations: 438.6 kB / 3.014 GB, free: 65.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/6.969, allocations: 0 / 3.014 GB, free: 65.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/6.969, allocations: 258.6 kB / 3.015 GB, free: 65.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/6.971, allocations: 276.1 kB / 3.015 GB, free: 65.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/6.973, allocations: 0.934 MB / 3.016 GB, free: 64.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/6.973, allocations: 0.9145 MB / 3.017 GB, free: 63.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000752/6.974, allocations: 188.2 kB / 3.017 GB, free: 63.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/6.974, allocations: 175.4 kB / 3.017 GB, free: 63.17 MB / 0.698 GB Notification: Performance of SimCode: time 6.71e-07/6.974, allocations: 0 / 3.017 GB, free: 63.17 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05685/7.031, allocations: 21.98 MB / 3.038 GB, free: 41.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/7.031, allocations: 210.5 kB / 3.039 GB, free: 41.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/9.812, allocations: 1.406 kB / 3.039 GB, free: 41.04 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)