Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 102.8 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 199.9 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7079/0.7079, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 67.02 kB / 0.5572 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1465, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5874/0.7339, allocations: 242.4 MB / 0.8683 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02233/0.7563, allocations: 15.9 MB / 0.8838 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003297/0.7597, allocations: 71.56 kB / 0.8839 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003787/0.7636, allocations: 1.177 MB / 0.885 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.7743, allocations: 3.821 MB / 0.8888 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004912/0.7793, allocations: 1.823 MB / 0.8906 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006888/0.7862, allocations: 5.255 MB / 0.8957 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002752/0.7889, allocations: 1.674 MB / 0.8973 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006017/0.795, allocations: 2.639 MB / 0.8999 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003695/0.7987, allocations: 1.708 MB / 0.9016 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006959/0.7994, allocations: 183.9 kB / 0.9017 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006575/0.806, allocations: 2.709 MB / 0.9044 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001259/0.8073, allocations: 0.7674 MB / 0.9051 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00247/0.8097, allocations: 1.143 MB / 0.9063 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00731/0.8171, allocations: 3.564 MB / 0.9097 GB, free: 15.67 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.8171, allocations: 0 / 0.9097 GB, free: 15.67 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8171, allocations: 0 / 0.9097 GB, free: 15.67 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001199/0.8172, allocations: 0 / 0.9097 GB, free: 15.67 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.005781/0.823, allocations: 2.499 MB / 0.9122 GB, free: 13.12 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.8231, allocations: 8.031 kB / 0.9122 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004341/0.8235, allocations: 223.1 kB / 0.9124 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003181/0.8267, allocations: 0.5048 MB / 0.9129 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002427/0.8291, allocations: 1.359 MB / 0.9142 GB, free: 10.96 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.8293, allocations: 174.2 kB / 0.9144 GB, free: 10.78 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.8295, allocations: 152 kB / 0.9145 GB, free: 10.63 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00281/0.8323, allocations: 1.749 MB / 0.9162 GB, free: 8.805 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.8324, allocations: 4 kB / 0.9162 GB, free: 8.801 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.8325, allocations: 56 kB / 0.9163 GB, free: 8.746 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.82e-05/0.8326, allocations: 66.69 kB / 0.9164 GB, free: 8.68 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.8349, allocations: 1.373 MB / 0.9177 GB, free: 7.301 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008748/0.8437, allocations: 8.207 MB / 0.9257 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.8452, allocations: 0.9003 MB / 0.9266 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007945/0.846, allocations: 0.5346 MB / 0.9271 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005816/0.8466, allocations: 324.4 kB / 0.9274 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.8466, allocations: 52.31 kB / 0.9275 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=96): time 2.895e-06/0.8466, allocations: 0 / 0.9275 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=102): time 0.00628/0.8529, allocations: 3.112 MB / 0.9305 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.853, allocations: 64.41 kB / 0.9306 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.8544, allocations: 1.266 MB / 0.9318 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.541e-05/0.8545, allocations: 49.7 kB / 0.9319 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005403/0.8551, allocations: 0.8094 MB / 0.9326 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.8554, allocations: 370.6 kB / 0.933 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/0.8557, allocations: 226.8 kB / 0.9332 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8558, allocations: 345.9 kB / 0.9335 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007542/0.8565, allocations: 449.8 kB / 0.934 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.8576, allocations: 0.826 MB / 0.9348 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.8593, allocations: 1.252 MB / 0.936 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.8594, allocations: 4 kB / 0.936 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002285/0.8616, allocations: 1.413 MB / 0.9374 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.8617, allocations: 8 kB / 0.9374 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.8617, allocations: 8.875 kB / 0.9374 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/0.8617, allocations: 16 kB / 0.9374 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.8628, allocations: 276.1 kB / 0.9377 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.8629, allocations: 27.92 kB / 0.9377 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.864, allocations: 66.91 kB / 0.9378 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.55e-05/0.8641, allocations: 55.98 kB / 0.9378 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00127/0.8654, allocations: 0.7679 MB / 0.9386 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00103/0.8664, allocations: 0.8221 MB / 0.9394 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001722/0.8682, allocations: 1.237 MB / 0.9406 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.783e-06/0.8682, allocations: 8.703 kB / 0.9406 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00221/0.8704, allocations: 1.398 MB / 0.942 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.8704, allocations: 9.875 kB / 0.942 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.8704, allocations: 8 kB / 0.942 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.8705, allocations: 16 kB / 0.942 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.8715, allocations: 271.6 kB / 0.9423 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.8715, allocations: 19.94 kB / 0.9423 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.8727, allocations: 72 kB / 0.9423 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/0.8727, allocations: 52 kB / 0.9424 GB, free: 12.54 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003009/0.873, allocations: 271.3 kB / 0.9426 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.8733, allocations: 166 kB / 0.9428 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.8753, allocations: 1.146 MB / 0.9439 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.8754, allocations: 16 kB / 0.9439 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.8754, allocations: 3.984 kB / 0.9439 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001535/0.8769, allocations: 1.079 MB / 0.945 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004185/0.8811, allocations: 2.781 MB / 0.9477 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.8811, allocations: 12.2 kB / 0.9477 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.8823, allocations: 239.7 kB / 0.948 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.8823, allocations: 7.938 kB / 0.948 GB, free: 6.684 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/0.8824, allocations: 28 kB / 0.948 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.8824, allocations: 7.938 kB / 0.948 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.8824, allocations: 4 kB / 0.948 GB, free: 6.645 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.885, allocations: 1.771 MB / 0.9497 GB, free: 4.836 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005445/0.8856, allocations: 338.9 kB / 0.9501 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.8858, allocations: 27.98 kB / 0.9501 GB, free: 4.457 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009598/0.8867, allocations: 59.83 kB / 0.9501 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.8869, allocations: 68.91 kB / 0.9502 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.577e-05/0.8869, allocations: 39.98 kB / 0.9502 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001014/0.888, allocations: 0.8426 MB / 0.9511 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.888, allocations: 192 / 0.9511 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001832/0.8898, allocations: 0.7617 MB / 0.9518 GB, free: 2.688 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003373/0.8932, allocations: 2.487 MB / 0.9542 GB, free: 164 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00303/0.8962, allocations: 1.74 MB / 0.9559 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.8963, allocations: 4.688 kB / 0.9559 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008117/0.8971, allocations: 0.517 MB / 0.9564 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003618/0.9007, allocations: 0.9117 MB / 0.9573 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/0.9187, allocations: 11.99 MB / 0.969 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.9199, allocations: 1.445 MB / 0.9705 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001765/0.9217, allocations: 0.5522 MB / 0.971 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008886/0.9226, allocations: 0.6906 MB / 0.9717 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/0.9226, allocations: 0 / 0.9717 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0815/1.004, allocations: 45.78 MB / 1.016 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.33, allocations: 2.656 kB / 1.016 GB, free: 0.5195 MB / 0.7637 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)