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.00631/0.00631, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001227/0.001227, allocations: 195.2 kB / 16.67 MB, free: 5.914 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9162/0.9162, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.89 kB / 0.5851 GB, free: 3.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4295, allocations: 80.91 MB / 0.6641 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1999/0.6294, allocations: 190.3 MB / 0.85 GB, free: 2.598 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00898/0.6384, allocations: 5.671 MB / 0.8556 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.6395, allocations: 39.81 kB / 0.8556 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.641, allocations: 0.5669 MB / 0.8562 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003476/0.6444, allocations: 1.594 MB / 0.8577 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.6473, allocations: 1.219 MB / 0.8589 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002947/0.6503, allocations: 2.496 MB / 0.8613 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.6516, allocations: 1.004 MB / 0.8623 GB, free: 5.961 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.6534, allocations: 1.035 MB / 0.8633 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.6551, allocations: 0.8213 MB / 0.8641 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.6553, allocations: 100 kB / 0.8642 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.658, allocations: 1.528 MB / 0.8657 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005311/0.6586, allocations: 0.4909 MB / 0.8662 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007612/0.6593, allocations: 0.6183 MB / 0.8668 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4331/1.092, allocations: 2.112 MB / 0.8689 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/1.093, allocations: 0.9688 kB / 0.8689 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.453e-06/1.093, allocations: 0 / 0.8689 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.825e-05/1.093, allocations: 0 / 0.8689 GB, free: 8.465 MB / 0.6856 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.002796/1.095, allocations: 1.476 MB / 0.8703 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.095, allocations: 11.38 kB / 0.8703 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001833/1.096, allocations: 139.5 kB / 0.8704 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/1.098, allocations: 329.2 kB / 0.8708 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/1.1, allocations: 0.8139 MB / 0.8716 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/1.1, allocations: 67.03 kB / 0.8716 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/1.1, allocations: 86.84 kB / 0.8717 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/1.102, allocations: 1.069 MB / 0.8727 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/1.102, allocations: 2.016 kB / 0.8728 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.604e-05/1.102, allocations: 41.31 kB / 0.8728 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.108e-05/1.102, allocations: 35.89 kB / 0.8728 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/1.103, allocations: 0.8244 MB / 0.8736 GB, free: 7.211 MB / 0.6856 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.005272/1.109, allocations: 4.252 MB / 0.8778 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000584/1.109, allocations: 377.7 kB / 0.8781 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/1.11, allocations: 217 kB / 0.8783 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/1.11, allocations: 98.62 kB / 0.8784 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/1.11, allocations: 38.88 kB / 0.8785 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=36): time 2.214e-06/1.11, allocations: 4.125 kB / 0.8785 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of matching and sorting (n=38): time 0.00265/1.112, allocations: 1.324 MB / 0.8798 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/1.113, allocations: 55.34 kB / 0.8798 GB, free: 4.34 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/1.114, allocations: 1.007 MB / 0.8808 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/1.114, allocations: 38.3 kB / 0.8809 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/1.114, allocations: 0.4898 MB / 0.8813 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/1.115, allocations: 139.3 kB / 0.8815 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/1.115, allocations: 124.9 kB / 0.8816 GB, free: 3.84 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002381/1.115, allocations: 329.1 kB / 0.8819 GB, free: 19.54 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/1.115, allocations: 234.7 kB / 0.8821 GB, free: 19.54 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005222/1.116, allocations: 430.7 kB / 0.8825 GB, free: 19.32 MB / 0.7012 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.002268/1.118, allocations: 1.208 MB / 0.8837 GB, free: 19.02 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.118, allocations: 3.781 kB / 0.8837 GB, free: 19.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00158/1.12, allocations: 0.7718 MB / 0.8845 GB, free: 18.93 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/1.12, allocations: 7.094 kB / 0.8845 GB, free: 18.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.12, allocations: 8.297 kB / 0.8845 GB, free: 18.93 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/1.12, allocations: 8.531 kB / 0.8845 GB, free: 18.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/1.121, allocations: 142.5 kB / 0.8846 GB, free: 18.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/1.121, allocations: 13 kB / 0.8846 GB, free: 18.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/1.122, allocations: 63.91 kB / 0.8847 GB, free: 18.93 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/1.122, allocations: 25.25 kB / 0.8847 GB, free: 18.93 MB / 0.7012 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.0004863/1.122, allocations: 313.7 kB / 0.885 GB, free: 18.81 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/1.122, allocations: 100.8 kB / 0.8851 GB, free: 18.76 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/1.123, allocations: 107.5 kB / 0.8852 GB, free: 18.75 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/1.123, allocations: 4.875 kB / 0.8852 GB, free: 18.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/1.123, allocations: 0.875 kB / 0.8852 GB, free: 18.75 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006692/1.123, allocations: 0.6789 MB / 0.8859 GB, free: 18.3 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/1.126, allocations: 1.589 MB / 0.8874 GB, free: 17.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.126, allocations: 4.562 kB / 0.8874 GB, free: 17.85 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/1.126, allocations: 89.14 kB / 0.8875 GB, free: 17.85 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/1.126, allocations: 10.47 kB / 0.8875 GB, free: 17.85 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/1.126, allocations: 10.94 kB / 0.8876 GB, free: 17.85 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/1.126, allocations: 9.078 kB / 0.8876 GB, free: 17.85 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.956e-05/1.126, allocations: 7.625 kB / 0.8876 GB, free: 17.85 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/1.127, allocations: 0.8442 MB / 0.8884 GB, free: 17.54 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000429/1.128, allocations: 246.5 kB / 0.8886 GB, free: 17.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/1.128, allocations: 14.81 kB / 0.8886 GB, free: 17.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/1.128, allocations: 35.39 kB / 0.8887 GB, free: 17.39 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/1.128, allocations: 41.5 kB / 0.8887 GB, free: 17.38 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/1.129, allocations: 26.34 kB / 0.8887 GB, free: 17.38 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001006/1.13, allocations: 0.7125 MB / 0.8894 GB, free: 17.27 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.11e-07/1.13, allocations: 0 / 0.8894 GB, free: 17.27 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009617/1.13, allocations: 258.7 kB / 0.8897 GB, free: 17.27 MB / 0.7012 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.001601/1.132, allocations: 1.487 MB / 0.8911 GB, free: 16.42 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009754/1.133, allocations: 0.5083 MB / 0.8916 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.133, allocations: 1.812 kB / 0.8916 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002604/1.133, allocations: 191.7 kB / 0.8918 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/1.136, allocations: 0.6173 MB / 0.8924 GB, free: 16.34 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.147, allocations: 7.585 MB / 0.8998 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007355/1.148, allocations: 1.098 MB / 0.9009 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001218/1.149, allocations: 251.4 kB / 0.9011 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005813/1.15, allocations: 342.4 kB / 0.9015 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of SimCode: time 1.403e-06/1.15, allocations: 6.062 kB / 0.9015 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05697/1.207, allocations: 28.28 MB / 0.9291 GB, free: 7.109 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.516/10.72, allocations: 14.59 kB / 0.9291 GB, free: 7.098 MB / 0.7012 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)