Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001703/0.001703, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001764/0.001764, allocations: 194 kB / 16.25 MB, free: 6.617 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.136/1.136, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6387/0.6387, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 59.28 kB / 0.5014 GB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2846, allocations: 80.2 MB / 0.5797 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1553/0.44, allocations: 187.8 MB / 0.7631 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006415/0.4464, allocations: 5.649 MB / 0.7686 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.4468, allocations: 35.75 kB / 0.7687 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000981/0.4478, allocations: 0.4936 MB / 0.7692 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.4502, allocations: 1.521 MB / 0.7706 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.4522, allocations: 1.085 MB / 0.7717 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00189/0.4541, allocations: 2.492 MB / 0.7741 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008319/0.4549, allocations: 0.9769 MB / 0.7751 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.456, allocations: 1.02 MB / 0.7761 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.4572, allocations: 0.8825 MB / 0.7769 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.4574, allocations: 104 kB / 0.777 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.4591, allocations: 1.59 MB / 0.7786 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.4594, allocations: 0.491 MB / 0.7791 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.4599, allocations: 0.63 MB / 0.7797 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.4616, allocations: 2.189 MB / 0.7818 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4616, allocations: 0 / 0.7818 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4616, allocations: 3.938 kB / 0.7818 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.4617, allocations: 0 / 0.7818 GB, free: 1.867 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001724/0.4634, allocations: 1.486 MB / 0.7833 GB, free: 340 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.4634, allocations: 8.031 kB / 0.7833 GB, free: 332 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.4636, allocations: 135.2 kB / 0.7834 GB, free: 188 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.4652, allocations: 326.3 kB / 0.7837 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009059/0.4661, allocations: 0.7726 MB / 0.7845 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003078/0.4664, allocations: 125.9 kB / 0.7846 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.4666, allocations: 88 kB / 0.7847 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.468, allocations: 1.064 MB / 0.7857 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.468, allocations: 4 kB / 0.7857 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/0.4681, allocations: 40 kB / 0.7858 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/0.4682, allocations: 30 kB / 0.7858 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.4694, allocations: 0.843 MB / 0.7866 GB, free: 12.82 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.004079/0.4735, allocations: 4.05 MB / 0.7906 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/0.4742, allocations: 370.8 kB / 0.7909 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.4746, allocations: 221 kB / 0.7911 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/0.4748, allocations: 96.95 kB / 0.7912 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.4749, allocations: 46.5 kB / 0.7913 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 1.964e-06/0.4749, allocations: 0 / 0.7913 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of matching and sorting (n=38): time 0.002501/0.4774, allocations: 1.326 MB / 0.7926 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.4774, allocations: 55.41 kB / 0.7926 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.4785, allocations: 0.9881 MB / 0.7936 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.4786, allocations: 37.7 kB / 0.7936 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.4788, allocations: 499.3 kB / 0.7941 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.154e-05/0.4789, allocations: 142 kB / 0.7942 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.4791, allocations: 122.2 kB / 0.7944 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.4792, allocations: 326 kB / 0.7947 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.4796, allocations: 237.2 kB / 0.7949 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.4801, allocations: 414.9 kB / 0.7953 GB, free: 3.461 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.4821, allocations: 1.176 MB / 0.7964 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4821, allocations: 0 / 0.7964 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001106/0.4832, allocations: 0.7576 MB / 0.7972 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4833, allocations: 8 kB / 0.7972 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4833, allocations: 7.938 kB / 0.7972 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.4833, allocations: 8 kB / 0.7972 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.4838, allocations: 143.8 kB / 0.7973 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.4838, allocations: 11.94 kB / 0.7973 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00078/0.4846, allocations: 83.84 kB / 0.7974 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.4846, allocations: 31.98 kB / 0.7975 GB, free: 1.145 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0002981/0.4849, allocations: 309.5 kB / 0.7978 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.4851, allocations: 106.8 kB / 0.7979 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.4852, allocations: 105 kB / 0.798 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4852, allocations: 4 kB / 0.798 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4852, allocations: 0 / 0.798 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005392/0.4858, allocations: 0.6809 MB / 0.7986 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.4876, allocations: 1.578 MB / 0.8002 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.4876, allocations: 4 kB / 0.8002 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.488, allocations: 87.89 kB / 0.8003 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.488, allocations: 11.94 kB / 0.8003 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.488, allocations: 23.88 kB / 0.8003 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.488, allocations: 4 kB / 0.8003 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.488, allocations: 4 kB / 0.8003 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008261/0.4889, allocations: 0.8564 MB / 0.8011 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.4891, allocations: 235.9 kB / 0.8014 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.4893, allocations: 19.98 kB / 0.8014 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/0.4899, allocations: 51.8 kB / 0.8014 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.49, allocations: 39.91 kB / 0.8015 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.49, allocations: 31.92 kB / 0.8015 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007921/0.4908, allocations: 0.7035 MB / 0.8022 GB, free: 12 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4908, allocations: 0 / 0.8022 GB, free: 12 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006119/0.4914, allocations: 256 kB / 0.8024 GB, free: 11.75 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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 (38): * Single equations (assignments): 38 * 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.001265/0.4927, allocations: 1.487 MB / 0.8039 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007817/0.4935, allocations: 0.5316 MB / 0.8044 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4935, allocations: 4.75 kB / 0.8044 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.4937, allocations: 192.4 kB / 0.8046 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/0.4962, allocations: 0.6222 MB / 0.8052 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008899/0.5051, allocations: 8.193 MB / 0.8132 GB, free: 272 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1792/0.6843, allocations: 1.092 MB / 0.8143 GB, free: 219 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001001/0.6854, allocations: 244.4 kB / 0.8145 GB, free: 219 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.6858, allocations: 341.7 kB / 0.8148 GB, free: 219 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.6858, allocations: 0 / 0.8148 GB, free: 219 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.86/2.546, allocations: 27.34 MB / 0.8415 GB, free: 209 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/2.546, allocations: 254.8 kB / 0.8418 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/4.87, allocations: 0 / 0.8418 GB, free: 208.7 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)