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.001099/0.001099, allocations: 108 kB / 15.6 MB, free: 128 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.001131/0.001131, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.459/1.459, 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/package.mo): time 0.7746/0.7746, allocations: 132.2 MB / 422.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 68.64 kB / 0.5019 GB, free: 8.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1341, allocations: 80.21 MB / 0.5802 GB, free: 8.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.406/0.5401, allocations: 190.3 MB / 0.7661 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008321/0.5484, allocations: 5.669 MB / 0.7716 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.5496, allocations: 39.75 kB / 0.7716 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.5511, allocations: 0.5669 MB / 0.7722 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003336/0.5545, allocations: 1.601 MB / 0.7737 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.5571, allocations: 1.189 MB / 0.7749 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0025/0.5596, allocations: 2.498 MB / 0.7773 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.5607, allocations: 1.004 MB / 0.7783 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.5621, allocations: 1.023 MB / 0.7793 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.5634, allocations: 0.8239 MB / 0.7801 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.5636, allocations: 104 kB / 0.7802 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.5659, allocations: 1.524 MB / 0.7817 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000411/0.5664, allocations: 490.8 kB / 0.7822 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005701/0.5669, allocations: 0.6221 MB / 0.7828 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.5691, allocations: 2.096 MB / 0.7848 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5691, allocations: 0 / 0.7848 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5691, allocations: 0 / 0.7848 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.5691, allocations: 0 / 0.7848 GB, free: 1.105 MB / 0.5919 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.001954/0.5711, allocations: 1.49 MB / 0.7863 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.5711, allocations: 8.031 kB / 0.7863 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.5713, allocations: 139.2 kB / 0.7864 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.573, allocations: 330.3 kB / 0.7868 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.5741, allocations: 0.7649 MB / 0.7875 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003448/0.5744, allocations: 133.8 kB / 0.7876 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.5745, allocations: 84 kB / 0.7877 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.5761, allocations: 1.075 MB / 0.7888 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.5761, allocations: 4 kB / 0.7888 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.21e-05/0.5762, allocations: 36 kB / 0.7888 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.816e-05/0.5762, allocations: 37.98 kB / 0.7888 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.5776, allocations: 0.8352 MB / 0.7896 GB, free: 12.04 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.004649/0.5823, allocations: 4.305 MB / 0.7939 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.5828, allocations: 377.5 kB / 0.7942 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.5831, allocations: 212.8 kB / 0.7944 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.5832, allocations: 97.69 kB / 0.7945 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.5833, allocations: 42.56 kB / 0.7945 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.493e-06/0.5833, allocations: 0 / 0.7945 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002072/0.5854, allocations: 1.329 MB / 0.7958 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.5854, allocations: 55.41 kB / 0.7959 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.5866, allocations: 1.008 MB / 0.7969 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.5866, allocations: 37.7 kB / 0.7969 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.5869, allocations: 499.2 kB / 0.7974 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.5871, allocations: 138 kB / 0.7975 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.5872, allocations: 130.1 kB / 0.7976 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.5873, allocations: 334 kB / 0.798 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.5878, allocations: 233.1 kB / 0.7982 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/0.5884, allocations: 445.5 kB / 0.7986 GB, free: 2.352 MB / 0.6075 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.002233/0.5906, allocations: 1.215 MB / 0.7998 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5906, allocations: 7.938 kB / 0.7998 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001259/0.5919, allocations: 0.7768 MB / 0.8006 GB, free: 256 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.5919, allocations: 7.938 kB / 0.8006 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5919, allocations: 8 kB / 0.8006 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.5919, allocations: 8.344 kB / 0.8006 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.5925, allocations: 151.7 kB / 0.8007 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.5925, allocations: 8 kB / 0.8007 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008043/0.5933, allocations: 69.16 kB / 0.8008 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/0.5934, allocations: 31.98 kB / 0.8008 GB, free: 15.97 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.000331/0.5937, allocations: 322.2 kB / 0.8011 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.5939, allocations: 106.8 kB / 0.8012 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.594, allocations: 101 kB / 0.8013 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.594, allocations: 4 kB / 0.8013 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.594, allocations: 3.984 kB / 0.8014 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005776/0.5946, allocations: 0.6693 MB / 0.802 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.5966, allocations: 1.581 MB / 0.8036 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-06/0.5966, allocations: 5 kB / 0.8036 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.597, allocations: 83.89 kB / 0.8036 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.597, allocations: 8 kB / 0.8036 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.5971, allocations: 19.94 kB / 0.8037 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.5971, allocations: 7.938 kB / 0.8037 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5971, allocations: 4 kB / 0.8037 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009204/0.598, allocations: 0.8529 MB / 0.8045 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/0.5983, allocations: 247.8 kB / 0.8047 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.5984, allocations: 15.98 kB / 0.8048 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/0.5991, allocations: 39.97 kB / 0.8048 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.5991, allocations: 35.84 kB / 0.8048 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.5992, allocations: 27.98 kB / 0.8049 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008779/0.6001, allocations: 0.7077 MB / 0.8055 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6001, allocations: 4 kB / 0.8056 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006828/0.6008, allocations: 260 kB / 0.8058 GB, free: 10.6 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.001485/0.6022, allocations: 1.5 MB / 0.8073 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009103/0.6032, allocations: 0.5357 MB / 0.8078 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6032, allocations: 4 kB / 0.8078 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.6034, allocations: 186.3 kB / 0.808 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/0.606, allocations: 0.6147 MB / 0.8086 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.6163, allocations: 8.009 MB / 0.8164 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007967/0.6171, allocations: 1.099 MB / 0.8175 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009837/0.6181, allocations: 248.3 kB / 0.8177 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/0.6185, allocations: 339.3 kB / 0.818 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of SimCode: time 8.11e-07/0.6185, allocations: 4 kB / 0.818 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08718/0.7057, allocations: 27.66 MB / 0.845 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.635/9.341, allocations: 18.61 kB / 0.8451 GB, free: 2.352 MB / 0.6544 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)