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.001183/0.001183, allocations: 108 kB / 15.6 MB, free: 132 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.001103/0.001103, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7819/0.7819, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 64.11 kB / 0.5019 GB, free: 8.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1397, allocations: 80.2 MB / 0.5802 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4831/0.6229, allocations: 242.4 MB / 0.8169 GB, free: 180 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02035/0.6433, allocations: 15.87 MB / 0.8324 GB, free: 264 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002248/0.6456, allocations: 75.56 kB / 0.8325 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002676/0.6482, allocations: 1.181 MB / 0.8336 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007991/0.6563, allocations: 3.822 MB / 0.8374 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.6602, allocations: 1.803 MB / 0.8391 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005838/0.666, allocations: 5.232 MB / 0.8442 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002645/0.6687, allocations: 1.671 MB / 0.8459 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005445/0.6742, allocations: 2.596 MB / 0.8484 GB, free: 15.81 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00363/0.6778, allocations: 1.71 MB / 0.8501 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005395/0.6784, allocations: 172 kB / 0.8502 GB, free: 13.94 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005585/0.684, allocations: 2.709 MB / 0.8529 GB, free: 11.23 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009465/0.6849, allocations: 0.7713 MB / 0.8536 GB, free: 10.45 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001816/0.6867, allocations: 1.143 MB / 0.8548 GB, free: 9.305 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005077/0.6918, allocations: 3.525 MB / 0.8582 GB, free: 5.77 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6918, allocations: 0 / 0.8582 GB, free: 5.77 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6918, allocations: 4 kB / 0.8582 GB, free: 5.766 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.822e-05/0.6919, allocations: 0 / 0.8582 GB, free: 5.766 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.004343/0.6963, allocations: 2.495 MB / 0.8606 GB, free: 3.215 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.6963, allocations: 8.031 kB / 0.8606 GB, free: 3.207 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002407/0.6966, allocations: 219.1 kB / 0.8609 GB, free: 2.984 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/0.6994, allocations: 0.497 MB / 0.8613 GB, free: 2.484 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.7012, allocations: 1.28 MB / 0.8626 GB, free: 1.148 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.7014, allocations: 178.2 kB / 0.8628 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.7016, allocations: 155.8 kB / 0.8629 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.247/0.9486, allocations: 1.729 MB / 0.8646 GB, free: 227 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.9486, allocations: 2.844 kB / 0.8646 GB, free: 227 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.9488, allocations: 67.12 kB / 0.8647 GB, free: 227 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/0.9488, allocations: 61.52 kB / 0.8647 GB, free: 227 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.9509, allocations: 1.369 MB / 0.8661 GB, free: 226.8 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.006803/0.9577, allocations: 8.237 MB / 0.8741 GB, free: 220.9 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.959, allocations: 0.9038 MB / 0.875 GB, free: 220.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007127/0.9597, allocations: 0.5323 MB / 0.8755 GB, free: 220.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005091/0.9602, allocations: 319.7 kB / 0.8758 GB, free: 220.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.9603, allocations: 53.2 kB / 0.8759 GB, free: 220 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 2.425e-06/0.9603, allocations: 0 / 0.8759 GB, free: 220 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.005553/0.9658, allocations: 3.105 MB / 0.8789 GB, free: 218.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.9659, allocations: 64.52 kB / 0.879 GB, free: 218.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.967, allocations: 1.266 MB / 0.8802 GB, free: 218 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/0.9671, allocations: 50.94 kB / 0.8802 GB, free: 218 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.9675, allocations: 0.8094 MB / 0.881 GB, free: 217.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.9677, allocations: 366.9 kB / 0.8814 GB, free: 217.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.9679, allocations: 238.5 kB / 0.8816 GB, free: 217 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.73e-05/0.968, allocations: 353.6 kB / 0.8819 GB, free: 216.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006877/0.9687, allocations: 445.6 kB / 0.8824 GB, free: 216.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008293/0.9695, allocations: 0.8317 MB / 0.8832 GB, free: 215.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.9711, allocations: 1.24 MB / 0.8844 GB, free: 215.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.9711, allocations: 4.969 kB / 0.8844 GB, free: 215.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001996/0.9731, allocations: 1.396 MB / 0.8858 GB, free: 214.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.9731, allocations: 9.5 kB / 0.8858 GB, free: 214.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.9732, allocations: 11.91 kB / 0.8858 GB, free: 214.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.9732, allocations: 18.64 kB / 0.8858 GB, free: 214.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.9742, allocations: 277.1 kB / 0.8861 GB, free: 214.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.9743, allocations: 20.91 kB / 0.8861 GB, free: 214.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.9754, allocations: 76.89 kB / 0.8862 GB, free: 214.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.416e-05/0.9755, allocations: 51.78 kB / 0.8862 GB, free: 214.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001076/0.9766, allocations: 0.7749 MB / 0.887 GB, free: 214.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007859/0.9774, allocations: 0.8158 MB / 0.8878 GB, free: 213.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001469/0.9789, allocations: 1.238 MB / 0.889 GB, free: 212.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.188e-06/0.9789, allocations: 2.844 kB / 0.889 GB, free: 212.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00189/0.9808, allocations: 1.383 MB / 0.8903 GB, free: 212.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.9808, allocations: 10.12 kB / 0.8903 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.9808, allocations: 11.73 kB / 0.8903 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.9808, allocations: 17 kB / 0.8904 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009852/0.9818, allocations: 276.9 kB / 0.8906 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.9819, allocations: 23.78 kB / 0.8906 GB, free: 212.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.983, allocations: 74.72 kB / 0.8907 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.654e-05/0.9831, allocations: 48.75 kB / 0.8908 GB, free: 212.2 MB / 0.67 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.0002296/0.9833, allocations: 271.4 kB / 0.891 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.9835, allocations: 167.1 kB / 0.8912 GB, free: 211.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.9854, allocations: 1.149 MB / 0.8923 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.9854, allocations: 15.64 kB / 0.8923 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.9854, allocations: 0 / 0.8923 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/0.9868, allocations: 1.076 MB / 0.8934 GB, free: 210.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.9905, allocations: 2.787 MB / 0.8961 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.9905, allocations: 0 / 0.8961 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.9918, allocations: 246.6 kB / 0.8963 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.9918, allocations: 5.906 kB / 0.8963 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/0.9919, allocations: 29.53 kB / 0.8964 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.207e-06/0.9919, allocations: 9.5 kB / 0.8964 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9919, allocations: 5 kB / 0.8964 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/0.9949, allocations: 1.805 MB / 0.8981 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/0.9954, allocations: 336.5 kB / 0.8985 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.9956, allocations: 27.78 kB / 0.8985 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009755/0.9966, allocations: 53.53 kB / 0.8985 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.9967, allocations: 68.05 kB / 0.8986 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.9968, allocations: 39.23 kB / 0.8986 GB, free: 208.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009979/0.9978, allocations: 0.853 MB / 0.8995 GB, free: 208.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9978, allocations: 0 / 0.8995 GB, free: 208.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001875/0.9997, allocations: 0.7572 MB / 0.9002 GB, free: 208.1 MB / 0.67 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 (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.003168/1.003, allocations: 2.53 MB / 0.9027 GB, free: 206.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003716/1.007, allocations: 1.998 MB / 0.9046 GB, free: 206.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.007, allocations: 5.938 kB / 0.9046 GB, free: 206.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008694/1.007, allocations: 0.5207 MB / 0.9051 GB, free: 205.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003681/1.011, allocations: 0.907 MB / 0.906 GB, free: 205.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/1.026, allocations: 13.08 MB / 0.9188 GB, free: 198.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008939/1.027, allocations: 1.442 MB / 0.9202 GB, free: 197.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002071/1.029, allocations: 0.5513 MB / 0.9208 GB, free: 197.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007555/1.03, allocations: 0.6802 MB / 0.9214 GB, free: 196.8 MB / 0.67 GB Notification: Performance of SimCode: time 6.72e-07/1.03, allocations: 5.125 kB / 0.9214 GB, free: 196.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.03/3.06, allocations: 44.66 MB / 0.965 GB, free: 165.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/14.36, allocations: 7.828 kB / 0.965 GB, free: 165.6 MB / 0.67 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/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)