Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001297, allocations: 174.9 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5682/0.5682, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.73 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.67/1.67, allocations: 221.5 MB / 343.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009561/0.0009561, allocations: 103.4 kB / 415.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.568e-05/2.636e-05, allocations: 0 / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1752, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.692/5.868, allocations: 2.119 GB / 2.672 GB, free: 20.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/5.868, allocations: 91.94 kB / 2.672 GB, free: 20.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.62/7.488, allocations: 483.7 MB / 3.145 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/7.488, allocations: 0 / 3.145 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001125/7.488, allocations: 36 kB / 3.145 GB, free: 23.89 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003506/7.491, allocations: 1.527 MB / 3.146 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/7.491, allocations: 12.03 kB / 3.146 GB, free: 22.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003079/7.494, allocations: 485.7 kB / 3.147 GB, free: 21.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/7.497, allocations: 1.331 MB / 3.148 GB, free: 20.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/7.497, allocations: 36 kB / 3.148 GB, free: 20.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/7.497, allocations: 60 kB / 3.148 GB, free: 20.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001559/7.499, allocations: 1.128 MB / 3.149 GB, free: 19.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/7.5, allocations: 1.085 MB / 3.15 GB, free: 18.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/7.5, allocations: 11.86 kB / 3.15 GB, free: 18.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.193e-05/7.5, allocations: 0 / 3.15 GB, free: 18.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/7.5, allocations: 34 kB / 3.15 GB, free: 18.09 MB / 0.6042 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.005271/7.506, allocations: 4.681 MB / 3.155 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/7.507, allocations: 0.9436 MB / 3.156 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/7.507, allocations: 0.5412 MB / 3.156 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/7.508, allocations: 210.9 kB / 3.156 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/7.508, allocations: 47.28 kB / 3.156 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=78): time 2.975e-06/7.508, allocations: 4 kB / 3.156 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.004094/7.512, allocations: 2.464 MB / 3.159 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/7.512, allocations: 60.19 kB / 3.159 GB, free: 8.652 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/7.513, allocations: 0.7596 MB / 3.16 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.065e-05/7.513, allocations: 29.7 kB / 3.16 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/7.513, allocations: 0.5349 MB / 3.16 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/7.513, allocations: 279.9 kB / 3.16 GB, free: 7.016 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/7.513, allocations: 0 / 3.16 GB, free: 7.016 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.333e-05/7.513, allocations: 334 kB / 3.161 GB, free: 6.684 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/7.514, allocations: 429.3 kB / 3.161 GB, free: 6.266 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/7.514, allocations: 0.5568 MB / 3.162 GB, free: 5.652 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/7.515, allocations: 0.5275 MB / 3.162 GB, free: 5.129 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/7.515, allocations: 0 / 3.162 GB, free: 5.129 MB / 0.6042 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001455/7.516, allocations: 1.159 MB / 3.163 GB, free: 3.957 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001987/7.516, allocations: 1.054 MB / 3.164 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/7.516, allocations: 4 kB / 3.164 GB, free: 2.816 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/7.517, allocations: 68.81 kB / 3.164 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009367/7.518, allocations: 199.7 kB / 3.165 GB, free: 2.551 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3783/7.896, allocations: 2.92 MB / 3.168 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/7.898, allocations: 138.5 kB / 3.168 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/7.898, allocations: 31.34 kB / 3.168 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/7.898, allocations: 3.812 kB / 3.168 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001957/7.9, allocations: 1.027 MB / 3.169 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/7.9, allocations: 3.438 kB / 3.169 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/7.9, allocations: 71.75 kB / 3.169 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007749/7.901, allocations: 175.2 kB / 3.169 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/7.903, allocations: 1.745 MB / 3.171 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/7.904, allocations: 138.1 kB / 3.171 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.638e-05/7.904, allocations: 32.52 kB / 3.171 GB, free: 104.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002767/7.905, allocations: 120 kB / 3.171 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001907/7.907, allocations: 1.029 MB / 3.172 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/7.907, allocations: 112.2 kB / 3.172 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/7.909, allocations: 1.113 MB / 3.173 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/7.909, allocations: 11.83 kB / 3.173 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/7.909, allocations: 0.8125 kB / 3.173 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00157/7.91, allocations: 1.192 MB / 3.174 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004499/7.915, allocations: 2.591 MB / 3.177 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/7.915, allocations: 2.391 kB / 3.177 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/7.916, allocations: 239.5 kB / 3.177 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002083/7.916, allocations: 67.61 kB / 3.177 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/7.916, allocations: 18.61 kB / 3.177 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/7.918, allocations: 2.92 MB / 3.18 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/7.918, allocations: 1.094 kB / 3.18 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/7.921, allocations: 1.861 MB / 3.182 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007733/7.921, allocations: 315.1 kB / 3.182 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/7.921, allocations: 14.27 kB / 3.182 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009965/7.922, allocations: 104.6 kB / 3.182 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.214e-05/7.923, allocations: 54.7 kB / 3.182 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-05/7.923, allocations: 36.69 kB / 3.182 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007521/7.923, allocations: 0.5967 MB / 3.183 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/7.923, allocations: 0 / 3.183 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003013/7.926, allocations: 0.7207 MB / 3.184 GB, free: 100.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005315/7.932, allocations: 4.36 MB / 3.188 GB, free: 98.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003203/7.935, allocations: 1.809 MB / 3.19 GB, free: 98.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/7.935, allocations: 6.812 kB / 3.19 GB, free: 98.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009419/7.936, allocations: 0.6361 MB / 3.19 GB, free: 98.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004046/7.94, allocations: 0.7391 MB / 3.191 GB, free: 98.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005933/7.946, allocations: 2.975 MB / 3.194 GB, free: 97.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/7.947, allocations: 1.458 MB / 3.195 GB, free: 96.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002947/7.95, allocations: 0.965 MB / 3.196 GB, free: 96.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006223/7.951, allocations: 442 kB / 3.197 GB, free: 96.86 MB / 0.6042 GB Notification: Performance of SimCode: time 2.685e-06/7.951, allocations: 3.5 kB / 3.197 GB, free: 96.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07888/8.03, allocations: 46.48 MB / 3.242 GB, free: 95.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/8.03, allocations: 205.3 kB / 3.242 GB, free: 95.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.427/11.46, allocations: 0 / 3.242 GB, free: 95.31 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)