Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7929/0.7929, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 180.8 kB / 169.7 MB, free: 1.75 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.1 MB / 404.5 MB, free: 1.598 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.001111, allocations: 87.67 kB / 481.8 MB, free: 4.258 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.094e-05/4.097e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1764, allocations: 76.75 MB / 0.6282 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.694/5.87, allocations: 2.163 GB / 2.791 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/5.871, allocations: 93.61 kB / 2.792 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.179/11.05, allocations: 1.33 GB / 4.122 GB, free: 43.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/11.05, allocations: 0 / 4.122 GB, free: 43.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003699/11.05, allocations: 55.97 kB / 4.122 GB, free: 43.79 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.009342/11.06, allocations: 2.199 MB / 4.124 GB, free: 41.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.686e-05/11.06, allocations: 12.03 kB / 4.124 GB, free: 41.52 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001129/11.06, allocations: 211.3 kB / 4.124 GB, free: 41.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004763/11.07, allocations: 0.5047 MB / 4.125 GB, free: 40.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005609/11.07, allocations: 1.472 MB / 4.126 GB, free: 39.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002833/11.07, allocations: 182.3 kB / 4.126 GB, free: 39.08 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008121/11.07, allocations: 163.8 kB / 4.127 GB, free: 38.92 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006293/11.08, allocations: 1.855 MB / 4.128 GB, free: 37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.723e-05/11.08, allocations: 4 kB / 4.128 GB, free: 37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/11.08, allocations: 71.64 kB / 4.128 GB, free: 36.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/11.08, allocations: 62.78 kB / 4.128 GB, free: 36.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003745/11.08, allocations: 1.51 MB / 4.13 GB, free: 35.36 MB / 0.6823 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.01048/11.09, allocations: 7.664 MB / 4.137 GB, free: 27.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/11.1, allocations: 1.142 MB / 4.139 GB, free: 25.91 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/11.1, allocations: 0.5078 MB / 4.139 GB, free: 25.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005273/11.1, allocations: 324.2 kB / 4.139 GB, free: 25.03 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/11.1, allocations: 43.56 kB / 4.139 GB, free: 24.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 3.597e-06/11.1, allocations: 0 / 4.139 GB, free: 24.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110): time 0.009053/11.11, allocations: 3.2 MB / 4.143 GB, free: 21.72 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/11.11, allocations: 64.41 kB / 4.143 GB, free: 21.65 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/11.11, allocations: 1.061 MB / 4.144 GB, free: 20.58 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/11.11, allocations: 53.64 kB / 4.144 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004507/11.11, allocations: 0.7981 MB / 4.144 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/11.11, allocations: 402.2 kB / 4.145 GB, free: 19.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/11.11, allocations: 24 kB / 4.145 GB, free: 19.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001035/11.11, allocations: 353.9 kB / 4.145 GB, free: 18.94 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006135/11.11, allocations: 434.5 kB / 4.146 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008286/11.11, allocations: 0.7916 MB / 4.146 GB, free: 17.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/11.11, allocations: 0.5496 MB / 4.147 GB, free: 17.03 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/11.11, allocations: 0 / 4.147 GB, free: 17.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002029/11.11, allocations: 1.398 MB / 4.148 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000931/11.11, allocations: 3.04 MB / 4.151 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/11.11, allocations: 8 kB / 4.151 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.512e-05/11.11, allocations: 19.95 kB / 4.151 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/11.12, allocations: 339.5 kB / 4.152 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.101e-05/11.12, allocations: 19.92 kB / 4.152 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/11.12, allocations: 211.6 kB / 4.152 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/11.12, allocations: 59.97 kB / 4.152 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/11.12, allocations: 8 kB / 4.152 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001998/11.12, allocations: 1.152 MB / 4.153 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/11.12, allocations: 8 kB / 4.153 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/11.12, allocations: 16 kB / 4.153 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/11.12, allocations: 288.2 kB / 4.153 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.528e-05/11.12, allocations: 19.92 kB / 4.153 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/11.12, allocations: 171.5 kB / 4.154 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/11.12, allocations: 55.98 kB / 4.154 GB, free: 9.934 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 155 * 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.0004438/11.12, allocations: 180.6 kB / 4.154 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005009/11.13, allocations: 166 kB / 4.154 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/11.13, allocations: 1.201 MB / 4.155 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/11.13, allocations: 16 kB / 4.155 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/11.13, allocations: 0 / 4.155 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001546/11.13, allocations: 1.107 MB / 4.156 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006229/11.14, allocations: 2.886 MB / 4.159 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/11.14, allocations: 4 kB / 4.159 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/11.14, allocations: 319.8 kB / 4.159 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.239e-05/11.14, allocations: 8 kB / 4.159 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/11.14, allocations: 39.91 kB / 4.159 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/11.14, allocations: 4 kB / 4.159 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/11.14, allocations: 3.938 kB / 4.159 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/11.14, allocations: 1.955 MB / 4.161 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/11.14, allocations: 358.9 kB / 4.162 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005319/11.14, allocations: 27.98 kB / 4.162 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002304/11.14, allocations: 199.6 kB / 4.162 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/11.14, allocations: 72.83 kB / 4.162 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/11.14, allocations: 39.97 kB / 4.162 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001847/11.15, allocations: 0.8096 MB / 4.163 GB, free: 332 kB / 0.6823 GB Notification: Performance of sort global known variables: time 8.02e-07/11.15, allocations: 3.938 kB / 4.163 GB, free: 328 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005653/11.15, allocations: 1.082 MB / 4.164 GB, free: 15.23 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * 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 Backend phase and start with SimCode phase: time 0.01025/11.16, allocations: 5.873 MB / 4.17 GB, free: 9.094 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004035/11.17, allocations: 1.772 MB / 4.171 GB, free: 7.328 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/11.17, allocations: 0 / 4.171 GB, free: 7.328 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/11.17, allocations: 0.5366 MB / 4.172 GB, free: 6.789 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006159/11.17, allocations: 0.9536 MB / 4.173 GB, free: 5.848 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009762/11.18, allocations: 3.468 MB / 4.176 GB, free: 2.301 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/11.19, allocations: 1.491 MB / 4.178 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003948/11.19, allocations: 0.7008 MB / 4.178 GB, free: 76 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.6141/11.8, allocations: 0.698 MB / 4.179 GB, free: 74.69 MB / 0.698 GB Notification: Performance of SimCode: time 3.397e-06/11.8, allocations: 0 / 4.179 GB, free: 74.69 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2173/12.02, allocations: 98.2 MB / 4.275 GB, free: 71.95 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/12.02, allocations: 193 kB / 4.275 GB, free: 71.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.137/18.16, allocations: 2.625 kB / 4.275 GB, free: 71.73 MB / 0.698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)