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.000686/0.0006863, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007318/0.0007317, allocations: 171.4 kB / 16.58 MB, free: 6.852 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.184/1.184, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6069/0.6069, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002588, allocations: 12 kB / 493.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1227, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4057/0.5284, allocations: 221.3 MB / 0.773 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.5456, allocations: 14.91 MB / 0.7876 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.5473, allocations: 71.5 kB / 0.7876 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.5492, allocations: 0.7958 MB / 0.7884 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005593/0.5548, allocations: 2.847 MB / 0.7912 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.5578, allocations: 1.362 MB / 0.7925 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005347/0.5632, allocations: 6.24 MB / 0.7986 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.5646, allocations: 1.279 MB / 0.7999 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.5679, allocations: 2.171 MB / 0.802 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.5697, allocations: 1.642 MB / 0.8036 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.5699, allocations: 87.94 kB / 0.8037 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.5728, allocations: 1.504 MB / 0.8052 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005674/0.5734, allocations: 0.6698 MB / 0.8058 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003681/0.5737, allocations: 444.6 kB / 0.8062 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.5758, allocations: 2.439 MB / 0.8086 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5758, allocations: 0 / 0.8086 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5758, allocations: 0 / 0.8086 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.5758, allocations: 0 / 0.8086 GB, free: 8.84 MB / 0.6231 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.002963/0.5788, allocations: 2.133 MB / 0.8107 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.5788, allocations: 12.03 kB / 0.8107 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002232/0.579, allocations: 223.1 kB / 0.8109 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.5815, allocations: 0.5009 MB / 0.8114 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.5832, allocations: 1.227 MB / 0.8126 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.5833, allocations: 178.2 kB / 0.8128 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.5835, allocations: 148 kB / 0.8129 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.5859, allocations: 1.737 MB / 0.8146 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.586, allocations: 4 kB / 0.8146 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.5861, allocations: 60 kB / 0.8147 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.587e-05/0.5861, allocations: 70.56 kB / 0.8147 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.5883, allocations: 1.384 MB / 0.8161 GB, free: 0.9609 MB / 0.6231 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.2258/0.8141, allocations: 8.199 MB / 0.8241 GB, free: 215.4 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.8156, allocations: 0.9052 MB / 0.825 GB, free: 215.2 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008144/0.8164, allocations: 0.5429 MB / 0.8255 GB, free: 215 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004963/0.8169, allocations: 333.2 kB / 0.8258 GB, free: 214.7 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.817, allocations: 46.17 kB / 0.8259 GB, free: 214.7 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=96): time 2.435e-06/0.817, allocations: 3.828 kB / 0.8259 GB, free: 214.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=102): time 0.006063/0.823, allocations: 3.176 MB / 0.829 GB, free: 213.2 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.8231, allocations: 63.06 kB / 0.829 GB, free: 213.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.8245, allocations: 1.245 MB / 0.8303 GB, free: 212.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.8246, allocations: 48.05 kB / 0.8303 GB, free: 212.7 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/0.825, allocations: 0.8186 MB / 0.8311 GB, free: 212 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.8253, allocations: 362.9 kB / 0.8315 GB, free: 211.8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.8253, allocations: 24.88 kB / 0.8315 GB, free: 211.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.8254, allocations: 354.5 kB / 0.8318 GB, free: 211.4 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007519/0.8262, allocations: 431.8 kB / 0.8322 GB, free: 211.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009176/0.8271, allocations: 0.8294 MB / 0.833 GB, free: 210.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008885/0.828, allocations: 0.554 MB / 0.8336 GB, free: 210.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.828, allocations: 2.531 kB / 0.8336 GB, free: 210.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002264/0.8303, allocations: 1.408 MB / 0.835 GB, free: 209.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.8304, allocations: 366.8 kB / 0.8353 GB, free: 209.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.8304, allocations: 10.66 kB / 0.8353 GB, free: 209.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.683e-05/0.8305, allocations: 18.11 kB / 0.8353 GB, free: 209.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.8315, allocations: 284.2 kB / 0.8356 GB, free: 209.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/0.8316, allocations: 22.52 kB / 0.8356 GB, free: 209.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.8328, allocations: 175.5 kB / 0.8358 GB, free: 209.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.181e-05/0.8329, allocations: 51.03 kB / 0.8358 GB, free: 209.4 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/0.833, allocations: 4.312 kB / 0.8358 GB, free: 209.4 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001802/0.8348, allocations: 1.227 MB / 0.837 GB, free: 208.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.8348, allocations: 11.94 kB / 0.8371 GB, free: 208.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.8348, allocations: 16.53 kB / 0.8371 GB, free: 208.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009831/0.8358, allocations: 285.2 kB / 0.8373 GB, free: 208.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.8358, allocations: 23.06 kB / 0.8374 GB, free: 208.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.837, allocations: 177.2 kB / 0.8375 GB, free: 208.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/0.8371, allocations: 48.86 kB / 0.8376 GB, free: 208.8 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007357/0.8378, allocations: 0.5087 MB / 0.8381 GB, free: 208.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.838, allocations: 163.2 kB / 0.8382 GB, free: 208.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.8401, allocations: 1.177 MB / 0.8394 GB, free: 207.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.8401, allocations: 17.05 kB / 0.8394 GB, free: 207.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.8401, allocations: 0 / 0.8394 GB, free: 207.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001446/0.8416, allocations: 1.096 MB / 0.8405 GB, free: 207.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004003/0.8456, allocations: 2.799 MB / 0.8432 GB, free: 206.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.8456, allocations: 1.156 kB / 0.8432 GB, free: 206.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.8467, allocations: 253.3 kB / 0.8434 GB, free: 206.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.8467, allocations: 6.797 kB / 0.8435 GB, free: 206.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.8467, allocations: 28.08 kB / 0.8435 GB, free: 206.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-06/0.8468, allocations: 6.109 kB / 0.8435 GB, free: 206.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.8468, allocations: 2.438 kB / 0.8435 GB, free: 206.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002423/0.8492, allocations: 1.793 MB / 0.8452 GB, free: 205.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/0.8496, allocations: 339.9 kB / 0.8456 GB, free: 205 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.8498, allocations: 21.98 kB / 0.8456 GB, free: 205 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.8508, allocations: 150.4 kB / 0.8457 GB, free: 205 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.851, allocations: 65.34 kB / 0.8458 GB, free: 205 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/0.851, allocations: 43.56 kB / 0.8458 GB, free: 205 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009117/0.852, allocations: 0.8323 MB / 0.8466 GB, free: 204.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.31e-07/0.852, allocations: 4.75 kB / 0.8466 GB, free: 204.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001786/0.8538, allocations: 0.7629 MB / 0.8474 GB, free: 204.6 MB / 0.6231 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 (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.002781/0.8565, allocations: 2.512 MB / 0.8498 GB, free: 203.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002362/0.8589, allocations: 1.745 MB / 0.8515 GB, free: 202.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8589, allocations: 0 / 0.8515 GB, free: 202.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006641/0.8596, allocations: 0.5275 MB / 0.8521 GB, free: 202.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00332/0.8629, allocations: 0.97 MB / 0.853 GB, free: 202 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.8739, allocations: 10.39 MB / 0.8632 GB, free: 193.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.8745, allocations: 1.438 MB / 0.8646 GB, free: 191.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001526/0.8761, allocations: 0.5602 MB / 0.8651 GB, free: 191.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000623/0.8767, allocations: 0.6906 MB / 0.8658 GB, free: 190.6 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.8767, allocations: 0 / 0.8658 GB, free: 190.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04679/0.9235, allocations: 44.45 MB / 0.9092 GB, free: 146.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/0.9237, allocations: 229.5 kB / 0.9094 GB, free: 146.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.322, allocations: 0 / 0.9094 GB, free: 146.5 MB / 0.6231 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/linux/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) Environment - environmentSimulation: