Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_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.001504/0.001504, 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.001645/0.001645, allocations: 193.8 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8178/0.8178, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.47 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1416, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4364/0.578, allocations: 242.4 MB / 0.8212 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.5969, allocations: 15.88 MB / 0.8367 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.5991, allocations: 75.56 kB / 0.8367 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.6017, allocations: 1.177 MB / 0.8379 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008555/0.6103, allocations: 3.819 MB / 0.8416 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004278/0.6146, allocations: 1.802 MB / 0.8434 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005731/0.6203, allocations: 5.244 MB / 0.8485 GB, free: 14.19 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.6226, allocations: 1.665 MB / 0.8501 GB, free: 12.5 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004883/0.6275, allocations: 2.6 MB / 0.8527 GB, free: 9.891 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003461/0.6309, allocations: 1.708 MB / 0.8543 GB, free: 8.188 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000528/0.6315, allocations: 176 kB / 0.8545 GB, free: 8.016 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00514/0.6366, allocations: 2.697 MB / 0.8571 GB, free: 5.312 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009178/0.6376, allocations: 0.7713 MB / 0.8579 GB, free: 4.539 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.6393, allocations: 1.147 MB / 0.859 GB, free: 3.387 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.2902/0.9294, allocations: 3.52 MB / 0.8625 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.9295, allocations: 0.6562 kB / 0.8625 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9295, allocations: 0.5 kB / 0.8625 GB, free: 14.88 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.624e-05/0.9296, allocations: 0 / 0.8625 GB, free: 14.88 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.003645/0.9333, allocations: 2.501 MB / 0.8649 GB, free: 13.95 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.9333, allocations: 11.03 kB / 0.8649 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001911/0.9335, allocations: 217.5 kB / 0.8651 GB, free: 13.91 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/0.936, allocations: 0.4986 MB / 0.8656 GB, free: 13.79 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.9375, allocations: 1.276 MB / 0.8668 GB, free: 13.35 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.9376, allocations: 179.5 kB / 0.867 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.9378, allocations: 147.7 kB / 0.8672 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.94, allocations: 1.734 MB / 0.8689 GB, free: 13.06 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.94, allocations: 9.25 kB / 0.8689 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.9401, allocations: 64 kB / 0.8689 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.327e-05/0.9402, allocations: 64.61 kB / 0.869 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.9422, allocations: 1.37 MB / 0.8703 GB, free: 13.04 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.006131/0.9483, allocations: 8.234 MB / 0.8784 GB, free: 8.246 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.9495, allocations: 0.9076 MB / 0.8792 GB, free: 8.211 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006973/0.9502, allocations: 0.5313 MB / 0.8798 GB, free: 8.203 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004683/0.9507, allocations: 323.4 kB / 0.8801 GB, free: 7.922 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.9507, allocations: 47.94 kB / 0.8801 GB, free: 7.883 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 2.625e-06/0.9507, allocations: 1.031 kB / 0.8801 GB, free: 7.883 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.0052/0.9559, allocations: 3.109 MB / 0.8832 GB, free: 7.266 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.9559, allocations: 61.78 kB / 0.8832 GB, free: 7.203 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.9571, allocations: 1.263 MB / 0.8845 GB, free: 7.035 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.595e-05/0.9571, allocations: 52.55 kB / 0.8845 GB, free: 7.004 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.9575, allocations: 0.8117 MB / 0.8853 GB, free: 6.684 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.9577, allocations: 368.4 kB / 0.8856 GB, free: 6.453 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.9579, allocations: 229.8 kB / 0.8859 GB, free: 6.426 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002422/0.9582, allocations: 353.9 kB / 0.8862 GB, free: 22.12 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006918/0.9589, allocations: 446.9 kB / 0.8866 GB, free: 22.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008944/0.9598, allocations: 0.8327 MB / 0.8874 GB, free: 21.66 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.9615, allocations: 1.248 MB / 0.8887 GB, free: 21.33 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.9615, allocations: 3.594 kB / 0.8887 GB, free: 21.33 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002149/0.9637, allocations: 1.398 MB / 0.89 GB, free: 21.21 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.9637, allocations: 9.562 kB / 0.89 GB, free: 21.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.9637, allocations: 9.906 kB / 0.89 GB, free: 21.21 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.9637, allocations: 19.34 kB / 0.8901 GB, free: 21.21 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.9648, allocations: 274.6 kB / 0.8903 GB, free: 21.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.302e-05/0.9648, allocations: 24.25 kB / 0.8904 GB, free: 21.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.9659, allocations: 69 kB / 0.8904 GB, free: 21.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.307e-05/0.966, allocations: 58.11 kB / 0.8905 GB, free: 21.21 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001088/0.9671, allocations: 0.7675 MB / 0.8912 GB, free: 21.12 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008658/0.9679, allocations: 0.8183 MB / 0.892 GB, free: 20.68 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00158/0.9695, allocations: 1.233 MB / 0.8932 GB, free: 20.35 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.971e-06/0.9695, allocations: 6.844 kB / 0.8932 GB, free: 20.35 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002036/0.9716, allocations: 1.389 MB / 0.8946 GB, free: 20.23 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.9716, allocations: 9.859 kB / 0.8946 GB, free: 20.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.9716, allocations: 8.656 kB / 0.8946 GB, free: 20.23 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.9716, allocations: 16.22 kB / 0.8946 GB, free: 20.23 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000984/0.9726, allocations: 274.4 kB / 0.8949 GB, free: 20.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.9726, allocations: 20.69 kB / 0.8949 GB, free: 20.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.9737, allocations: 78.61 kB / 0.895 GB, free: 20.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/0.9738, allocations: 47.19 kB / 0.895 GB, free: 20.23 MB / 0.6856 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.0002188/0.974, allocations: 270.9 kB / 0.8953 GB, free: 20.04 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.9742, allocations: 162.6 kB / 0.8954 GB, free: 19.95 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.9761, allocations: 1.147 MB / 0.8966 GB, free: 19.87 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.9761, allocations: 12.25 kB / 0.8966 GB, free: 19.87 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9761, allocations: 2.078 kB / 0.8966 GB, free: 19.87 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/0.9776, allocations: 1.076 MB / 0.8976 GB, free: 19.59 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.9817, allocations: 2.781 MB / 0.9003 GB, free: 19.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.9818, allocations: 4.969 kB / 0.9003 GB, free: 19.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.9829, allocations: 248 kB / 0.9006 GB, free: 19.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.9829, allocations: 9.703 kB / 0.9006 GB, free: 19.19 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/0.9829, allocations: 30.05 kB / 0.9006 GB, free: 19.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.983, allocations: 6.484 kB / 0.9006 GB, free: 19.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.983, allocations: 2.734 kB / 0.9006 GB, free: 19.19 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/0.9856, allocations: 1.819 MB / 0.9024 GB, free: 18.88 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004406/0.986, allocations: 333.2 kB / 0.9027 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.9862, allocations: 26.98 kB / 0.9027 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000919/0.9871, allocations: 69.42 kB / 0.9028 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.9873, allocations: 61.77 kB / 0.9029 GB, free: 18.69 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.636e-05/0.9873, allocations: 43.73 kB / 0.9029 GB, free: 18.69 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009234/0.9883, allocations: 0.8453 MB / 0.9037 GB, free: 18.58 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9883, allocations: 0.9062 kB / 0.9037 GB, free: 18.58 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001613/0.9899, allocations: 0.7588 MB / 0.9045 GB, free: 18.57 MB / 0.6856 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.002981/0.9929, allocations: 2.528 MB / 0.9069 GB, free: 17.73 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003017/0.9959, allocations: 1.997 MB / 0.9089 GB, free: 17.69 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9959, allocations: 0 / 0.9089 GB, free: 17.69 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006781/0.9966, allocations: 0.5177 MB / 0.9094 GB, free: 17.69 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003153/0.9998, allocations: 0.9183 MB / 0.9103 GB, free: 17.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.012, allocations: 13.07 MB / 0.9231 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007634/1.013, allocations: 1.439 MB / 0.9245 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001563/1.015, allocations: 0.5561 MB / 0.925 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006233/1.015, allocations: 0.6811 MB / 0.9257 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of SimCode: time 2.5e-07/1.015, allocations: 4 kB / 0.9257 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.48/2.495, allocations: 44.68 MB / 0.9693 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/12.91, allocations: 9.703 kB / 0.9693 GB, free: 12.02 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)