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.747/0.747, allocations: 127.4 MB / 134.9 MB, free: 3.773 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 188.8 kB / 164.7 MB, free: 6.523 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.864/1.864, allocations: 205.2 MB / 399.5 MB, free: 5.949 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.001129/0.001129, allocations: 86.16 kB / 476.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.078e-05, allocations: 4 kB / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1932, allocations: 76.76 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.034/6.227, allocations: 2.163 GB / 2.784 GB, free: 24.38 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/6.228, allocations: 98.31 kB / 2.785 GB, free: 24.33 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.621/11.85, allocations: 1.315 GB / 4.1 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.964e-06/11.85, allocations: 3.844 kB / 4.1 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001706/11.85, allocations: 63.92 kB / 4.1 GB, free: 71.82 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.005437/11.85, allocations: 2.186 MB / 4.102 GB, free: 71.08 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.24e-05/11.85, allocations: 18.92 kB / 4.102 GB, free: 71.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/11.86, allocations: 0.5025 MB / 4.103 GB, free: 70.96 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00302/11.86, allocations: 1.471 MB / 4.104 GB, free: 70.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/11.86, allocations: 132.2 kB / 4.104 GB, free: 70.56 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/11.86, allocations: 91 kB / 4.104 GB, free: 70.56 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00215/11.86, allocations: 1.214 MB / 4.105 GB, free: 70.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/11.87, allocations: 1.423 MB / 4.107 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.453e-05/11.87, allocations: 8.812 kB / 4.107 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/11.87, allocations: 3.094 kB / 4.107 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.624e-05/11.87, allocations: 57.09 kB / 4.107 GB, free: 70.38 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.008457/11.87, allocations: 7.378 MB / 4.114 GB, free: 66.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/11.87, allocations: 0.8843 MB / 4.115 GB, free: 66.28 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/11.88, allocations: 484.6 kB / 4.115 GB, free: 66.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005602/11.88, allocations: 326.2 kB / 4.116 GB, free: 65.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/11.88, allocations: 44.94 kB / 4.116 GB, free: 65.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 3.506e-06/11.88, allocations: 0 / 4.116 GB, free: 65.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110): time 0.007809/11.88, allocations: 3.03 MB / 4.119 GB, free: 65.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/11.88, allocations: 63.94 kB / 4.119 GB, free: 65.26 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/11.89, allocations: 0.8773 MB / 4.12 GB, free: 65.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.189e-05/11.89, allocations: 25.7 kB / 4.12 GB, free: 65.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005614/11.89, allocations: 0.8223 MB / 4.12 GB, free: 64.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/11.89, allocations: 381.9 kB / 4.121 GB, free: 64.56 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/11.89, allocations: 0 / 4.121 GB, free: 64.56 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001193/11.89, allocations: 351.5 kB / 4.121 GB, free: 64.26 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/11.89, allocations: 423.2 kB / 4.122 GB, free: 64.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00083/11.89, allocations: 0.7639 MB / 4.122 GB, free: 63.85 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/11.89, allocations: 0.6094 MB / 4.123 GB, free: 63.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/11.89, allocations: 3.156 kB / 4.123 GB, free: 63.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00227/11.89, allocations: 1.368 MB / 4.124 GB, free: 63.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008803/11.89, allocations: 3.018 MB / 4.127 GB, free: 60.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/11.89, allocations: 12.2 kB / 4.127 GB, free: 60.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.898e-05/11.89, allocations: 15.34 kB / 4.127 GB, free: 60.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/11.89, allocations: 340.8 kB / 4.128 GB, free: 60.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/11.89, allocations: 14.44 kB / 4.128 GB, free: 60.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/11.9, allocations: 202 kB / 4.128 GB, free: 60.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/11.9, allocations: 55.78 kB / 4.128 GB, free: 60.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/11.9, allocations: 7 kB / 4.128 GB, free: 60.59 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001801/11.9, allocations: 1.105 MB / 4.129 GB, free: 60.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/11.9, allocations: 10.88 kB / 4.129 GB, free: 60.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/11.9, allocations: 13.22 kB / 4.129 GB, free: 60.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/11.9, allocations: 286.1 kB / 4.129 GB, free: 60.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/11.9, allocations: 17.34 kB / 4.129 GB, free: 60.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/11.9, allocations: 148 kB / 4.129 GB, free: 60.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/11.9, allocations: 53.47 kB / 4.129 GB, free: 60.54 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.0003655/11.9, allocations: 142.2 kB / 4.13 GB, free: 60.43 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001838/11.9, allocations: 1.098 MB / 4.131 GB, free: 60.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/11.9, allocations: 163.1 kB / 4.131 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/11.91, allocations: 1.176 MB / 4.132 GB, free: 60.12 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/11.91, allocations: 11.28 kB / 4.132 GB, free: 60.12 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/11.91, allocations: 3.953 kB / 4.132 GB, free: 60.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001552/11.91, allocations: 1.137 MB / 4.133 GB, free: 59.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005041/11.91, allocations: 2.728 MB / 4.136 GB, free: 59.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/11.91, allocations: 5.75 kB / 4.136 GB, free: 59.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/11.91, allocations: 320.3 kB / 4.136 GB, free: 59.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-05/11.91, allocations: 5.375 kB / 4.136 GB, free: 59.46 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.552e-05/11.91, allocations: 24.41 kB / 4.136 GB, free: 59.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/11.91, allocations: 2.875 kB / 4.136 GB, free: 59.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/11.91, allocations: 2.969 kB / 4.136 GB, free: 59.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003201/11.92, allocations: 1.953 MB / 4.138 GB, free: 59.03 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/11.92, allocations: 346.3 kB / 4.138 GB, free: 58.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/11.92, allocations: 11.3 kB / 4.138 GB, free: 58.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/11.92, allocations: 185.3 kB / 4.138 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/11.92, allocations: 72.69 kB / 4.139 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/11.92, allocations: 51.08 kB / 4.139 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001174/11.92, allocations: 0.6534 MB / 4.139 GB, free: 58.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.1e-07/11.92, allocations: 3.375 kB / 4.139 GB, free: 58.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003451/11.93, allocations: 0.9202 MB / 4.14 GB, free: 58.72 MB / 0.6823 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.008282/11.93, allocations: 6.193 MB / 4.146 GB, free: 56.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003171/11.94, allocations: 1.678 MB / 4.148 GB, free: 56.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/11.94, allocations: 0 / 4.148 GB, free: 56.17 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007743/11.94, allocations: 0.5143 MB / 4.148 GB, free: 56.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005248/11.94, allocations: 0.8608 MB / 4.149 GB, free: 56.14 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007732/11.95, allocations: 3.344 MB / 4.152 GB, free: 55.33 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/11.95, allocations: 1.495 MB / 4.154 GB, free: 54.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003143/11.96, allocations: 0.6504 MB / 4.154 GB, free: 54.58 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/11.96, allocations: 0.6916 MB / 4.155 GB, free: 54.57 MB / 0.6823 GB Notification: Performance of SimCode: time 2.936e-06/11.96, allocations: 5.922 kB / 4.155 GB, free: 54.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1414/12.1, allocations: 65.91 MB / 4.22 GB, free: 50.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/12.1, allocations: 176.3 kB / 4.22 GB, free: 50.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.944/17.04, allocations: 0 / 4.22 GB, free: 50.71 MB / 0.6823 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)