Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_IDEAS_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.001489/0.001489, allocations: 100 kB / 15.05 MB, free: 1.105 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.002073/0.002073, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.338/2.338, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.145/1.145, allocations: 132.3 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.0004979, allocations: 15.98 kB / 0.5033 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.663/0.6635, allocations: 81.57 MB / 0.583 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.3584/1.022, allocations: 198.8 MB / 0.7771 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02503/1.047, allocations: 14.74 MB / 0.7915 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/1.05, allocations: 63.5 kB / 0.7916 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004298/1.055, allocations: 1.062 MB / 0.7926 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01432/1.069, allocations: 3.525 MB / 0.796 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00609/1.075, allocations: 1.737 MB / 0.7977 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008388/1.084, allocations: 3.058 MB / 0.8007 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003074/1.087, allocations: 1.312 MB / 0.802 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005467/1.092, allocations: 1.803 MB / 0.8038 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002975/1.095, allocations: 1.109 MB / 0.8049 GB, free: 13 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004112/1.096, allocations: 87.94 kB / 0.8049 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004744/1.1, allocations: 1.244 MB / 0.8062 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001495/1.102, allocations: 0.6116 MB / 0.8068 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001211/1.103, allocations: 440.6 kB / 0.8072 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005138/1.108, allocations: 2.283 MB / 0.8094 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/1.108, allocations: 4 kB / 0.8094 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.305e-06/1.108, allocations: 0 / 0.8094 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.461e-05/1.109, allocations: 0 / 0.8094 GB, free: 8.328 MB / 0.6387 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.005979/1.115, allocations: 2.086 MB / 0.8114 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.937e-05/1.115, allocations: 8.031 kB / 0.8115 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005688/1.115, allocations: 219.1 kB / 0.8117 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003795/1.119, allocations: 0.5087 MB / 0.8122 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003552/1.123, allocations: 1.215 MB / 0.8133 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/1.123, allocations: 170.2 kB / 0.8135 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000298/1.123, allocations: 167.9 kB / 0.8137 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/1.127, allocations: 1.718 MB / 0.8153 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.536e-05/1.127, allocations: 7.938 kB / 0.8154 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/1.127, allocations: 60 kB / 0.8154 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.591e-05/1.127, allocations: 62.69 kB / 0.8155 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002933/1.13, allocations: 1.377 MB / 0.8168 GB, free: 0.5273 MB / 0.6387 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.4937/1.624, allocations: 8.177 MB / 0.8248 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/1.626, allocations: 0.9212 MB / 0.8257 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004725/1.626, allocations: 157.3 kB / 0.8258 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/1.626, allocations: 46.3 kB / 0.8259 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=96): time 4.789e-06/1.626, allocations: 0 / 0.8259 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=102): time 0.008038/1.634, allocations: 3.155 MB / 0.829 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/1.634, allocations: 62.5 kB / 0.829 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/1.636, allocations: 1.248 MB / 0.8303 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/1.636, allocations: 49.11 kB / 0.8303 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005679/1.637, allocations: 0.8144 MB / 0.8311 GB, free: 211 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/1.637, allocations: 366.4 kB / 0.8314 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/1.637, allocations: 23.56 kB / 0.8315 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.637, allocations: 357.5 kB / 0.8318 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008788/1.638, allocations: 435.1 kB / 0.8322 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/1.639, allocations: 0.8254 MB / 0.833 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00098/1.64, allocations: 0.5507 MB / 0.8336 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/1.64, allocations: 2.094 kB / 0.8336 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.0025/1.643, allocations: 1.408 MB / 0.8349 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007/1.644, allocations: 3.664 MB / 0.8385 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/1.644, allocations: 9.219 kB / 0.8385 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.377e-05/1.644, allocations: 20 kB / 0.8385 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.645, allocations: 290 kB / 0.8388 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.859e-05/1.645, allocations: 19.06 kB / 0.8388 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/1.647, allocations: 167.1 kB / 0.839 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.374e-05/1.647, allocations: 48.44 kB / 0.839 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.647, allocations: 3.406 kB / 0.8391 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002097/1.649, allocations: 1.223 MB / 0.8402 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.649, allocations: 8.438 kB / 0.8403 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.649, allocations: 20.47 kB / 0.8403 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.65, allocations: 281.5 kB / 0.8405 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/1.65, allocations: 20.62 kB / 0.8406 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/1.652, allocations: 169.7 kB / 0.8407 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.854e-05/1.652, allocations: 47.5 kB / 0.8408 GB, free: 204.3 MB / 0.6387 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.0009385/1.653, allocations: 0.5077 MB / 0.8413 GB, free: 204 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/1.653, allocations: 169.1 kB / 0.8414 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/1.655, allocations: 1.163 MB / 0.8426 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/1.655, allocations: 10.06 kB / 0.8426 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/1.655, allocations: 0 / 0.8426 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001548/1.657, allocations: 1.092 MB / 0.8436 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/1.662, allocations: 2.797 MB / 0.8464 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/1.662, allocations: 2.062 kB / 0.8464 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/1.663, allocations: 256.6 kB / 0.8466 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/1.663, allocations: 8.078 kB / 0.8466 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/1.663, allocations: 30.33 kB / 0.8467 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/1.663, allocations: 4.906 kB / 0.8467 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.663, allocations: 10.89 kB / 0.8467 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002923/1.666, allocations: 1.928 MB / 0.8486 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009868/1.667, allocations: 340.5 kB / 0.8489 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/1.668, allocations: 24.02 kB / 0.8489 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.669, allocations: 153 kB / 0.849 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/1.669, allocations: 67.34 kB / 0.8491 GB, free: 199.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.064e-05/1.669, allocations: 37.89 kB / 0.8491 GB, free: 199.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001163/1.67, allocations: 0.8287 MB / 0.85 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.67, allocations: 0 / 0.85 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002146/1.672, allocations: 0.7691 MB / 0.8507 GB, free: 198.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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.003171/1.676, allocations: 3.107 MB / 0.8537 GB, free: 196.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002786/1.678, allocations: 1.741 MB / 0.8554 GB, free: 195.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.678, allocations: 0 / 0.8554 GB, free: 195.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007439/1.679, allocations: 0.5298 MB / 0.856 GB, free: 195.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004507/1.684, allocations: 0.9514 MB / 0.8569 GB, free: 195 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/1.699, allocations: 16.3 MB / 0.8728 GB, free: 178.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/1.7, allocations: 1.477 MB / 0.8742 GB, free: 176.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002025/1.702, allocations: 0.5602 MB / 0.8748 GB, free: 176.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007256/1.703, allocations: 0.6828 MB / 0.8755 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.182e-06/1.703, allocations: 0 / 0.8755 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.802/3.504, allocations: 44.45 MB / 0.9189 GB, free: 131.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/3.505, allocations: 212.8 kB / 0.9191 GB, free: 131.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.682/8.187, allocations: 6.953 kB / 0.9191 GB, free: 131.3 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) Environment - environmentSimulation: