Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_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.00155/0.00155, 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.001869/0.001869, allocations: 194.5 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9156/0.9156, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 60.91 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1415, allocations: 80.93 MB / 0.5845 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4191/0.5605, allocations: 190.3 MB / 0.7703 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007843/0.5684, allocations: 5.678 MB / 0.7759 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.5695, allocations: 35.81 kB / 0.7759 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.5708, allocations: 0.5708 MB / 0.7764 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003316/0.5742, allocations: 1.598 MB / 0.778 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.5768, allocations: 1.196 MB / 0.7792 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002727/0.5795, allocations: 2.501 MB / 0.7816 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.5808, allocations: 0.991 MB / 0.7826 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.5826, allocations: 1.031 MB / 0.7836 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.5842, allocations: 0.8167 MB / 0.7844 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.5844, allocations: 100 kB / 0.7845 GB, free: 24 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.587, allocations: 1.524 MB / 0.786 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005084/0.5875, allocations: 490.8 kB / 0.7864 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007219/0.5882, allocations: 0.6222 MB / 0.7871 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.5906, allocations: 2.1 MB / 0.7891 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5907, allocations: 4 kB / 0.7891 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5907, allocations: 3.938 kB / 0.7891 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.732e-05/0.5907, allocations: 0 / 0.7891 GB, free: 11.28 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.002072/0.5928, allocations: 1.484 MB / 0.7906 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.5928, allocations: 8.031 kB / 0.7906 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000154/0.593, allocations: 139.2 kB / 0.7907 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.5947, allocations: 330.3 kB / 0.791 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.5958, allocations: 0.7687 MB / 0.7918 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003322/0.5961, allocations: 121.9 kB / 0.7919 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.5963, allocations: 91.98 kB / 0.792 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.5978, allocations: 1.082 MB / 0.793 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.5979, allocations: 0 / 0.793 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.5979, allocations: 36 kB / 0.7931 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.598, allocations: 34 kB / 0.7931 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.5994, allocations: 0.843 MB / 0.7939 GB, free: 6.211 MB / 0.6075 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.005319/0.6047, allocations: 4.295 MB / 0.7981 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.6053, allocations: 373.1 kB / 0.7985 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.6057, allocations: 217.8 kB / 0.7987 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.6059, allocations: 97.69 kB / 0.7988 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.6059, allocations: 38.56 kB / 0.7988 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.853e-06/0.6059, allocations: 0 / 0.7988 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.00249/0.6084, allocations: 1.333 MB / 0.8001 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.6085, allocations: 59.34 kB / 0.8002 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.61, allocations: 1.004 MB / 0.8011 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.61, allocations: 37.7 kB / 0.8012 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.6104, allocations: 0.4914 MB / 0.8017 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.6105, allocations: 145.9 kB / 0.8018 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.6107, allocations: 118.2 kB / 0.8019 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.6108, allocations: 334 kB / 0.8022 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/0.6113, allocations: 241.1 kB / 0.8025 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.612, allocations: 442.7 kB / 0.8029 GB, free: 12.54 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.002424/0.6144, allocations: 1.213 MB / 0.8041 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.6144, allocations: 4 kB / 0.8041 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001446/0.6159, allocations: 0.7808 MB / 0.8048 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6159, allocations: 11.94 kB / 0.8048 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.6159, allocations: 4 kB / 0.8048 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.6159, allocations: 8.047 kB / 0.8049 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/0.6165, allocations: 151.7 kB / 0.805 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.6166, allocations: 8.219 kB / 0.805 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009355/0.6175, allocations: 69.83 kB / 0.8051 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.6176, allocations: 31.98 kB / 0.8051 GB, free: 10.16 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: 25 * 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 (74): * Single equations (assignments): 74 * 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.0003977/0.618, allocations: 319.5 kB / 0.8054 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.6181, allocations: 98.81 kB / 0.8055 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.6183, allocations: 101 kB / 0.8056 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.6183, allocations: 4 kB / 0.8056 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.6183, allocations: 0 / 0.8056 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000656/0.619, allocations: 0.6731 MB / 0.8063 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.6213, allocations: 1.583 MB / 0.8078 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6213, allocations: 7.984 kB / 0.8078 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.6217, allocations: 84.41 kB / 0.8079 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.6217, allocations: 12 kB / 0.8079 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.6218, allocations: 19.92 kB / 0.8079 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.6218, allocations: 7.938 kB / 0.8079 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6218, allocations: 4 kB / 0.8079 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.6228, allocations: 0.8489 MB / 0.8088 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.6232, allocations: 247.7 kB / 0.809 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.6234, allocations: 12 kB / 0.809 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/0.6241, allocations: 45.88 kB / 0.8091 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.6242, allocations: 27.91 kB / 0.8091 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/0.6242, allocations: 30.73 kB / 0.8091 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001044/0.6253, allocations: 0.7116 MB / 0.8098 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.366e-06/0.6253, allocations: 0 / 0.8098 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008309/0.6261, allocations: 259.9 kB / 0.8101 GB, free: 4.793 MB / 0.6231 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.001681/0.6278, allocations: 1.494 MB / 0.8115 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.6288, allocations: 0.5362 MB / 0.812 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6289, allocations: 8 kB / 0.812 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.6291, allocations: 193.5 kB / 0.8122 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/0.6319, allocations: 0.6156 MB / 0.8128 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.643, allocations: 8.006 MB / 0.8207 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/0.6437, allocations: 1.102 MB / 0.8217 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009042/0.6446, allocations: 252.3 kB / 0.822 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/0.6451, allocations: 343.3 kB / 0.8223 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.6451, allocations: 0 / 0.8223 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08235/0.7275, allocations: 27.67 MB / 0.8493 GB, free: 12.48 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.86/10.59, allocations: 6.406 kB / 0.8493 GB, free: 12.48 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)