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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7207/0.7207, allocations: 133.4 MB / 146.7 MB, free: 10.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 221.3 MB / 400.4 MB, free: 5.793 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.00113, allocations: 83.89 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.745e-05/4.748e-05, allocations: 4.219 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2087, allocations: 82.3 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.777/4.986, allocations: 1.883 GB / 2.523 GB, free: 47.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/4.986, allocations: 83.95 kB / 2.523 GB, free: 47.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.305/7.291, allocations: 0.5718 GB / 3.095 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.543e-06/7.291, allocations: 0 / 3.095 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001056/7.291, allocations: 32.22 kB / 3.095 GB, free: 142.4 MB / 0.6823 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.003365/7.294, allocations: 1.241 MB / 3.096 GB, free: 142 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/7.294, allocations: 12.84 kB / 3.096 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001927/7.295, allocations: 136.8 kB / 3.097 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002355/7.297, allocations: 323.2 kB / 3.097 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/7.299, allocations: 0.7958 MB / 3.098 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005028/7.299, allocations: 134.7 kB / 3.098 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/7.3, allocations: 89.36 kB / 3.098 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/7.302, allocations: 0.9898 MB / 3.099 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.151e-05/7.302, allocations: 5.219 kB / 3.099 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/7.302, allocations: 41.55 kB / 3.099 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.329e-05/7.302, allocations: 32.23 kB / 3.099 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/7.304, allocations: 0.7301 MB / 3.1 GB, free: 141.5 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.008039/7.312, allocations: 4.042 MB / 3.104 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/7.313, allocations: 375.1 kB / 3.104 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/7.313, allocations: 205.3 kB / 3.104 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/7.314, allocations: 99.06 kB / 3.104 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/7.314, allocations: 42.38 kB / 3.104 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 3.306e-06/7.314, allocations: 0 / 3.104 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.003017/7.317, allocations: 1.161 MB / 3.105 GB, free: 139 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/7.317, allocations: 59.12 kB / 3.105 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/7.318, allocations: 0.8371 MB / 3.106 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/7.318, allocations: 40.16 kB / 3.106 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/7.319, allocations: 0.4887 MB / 3.107 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/7.319, allocations: 134.6 kB / 3.107 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/7.319, allocations: 12.81 kB / 3.107 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.277e-05/7.319, allocations: 335.1 kB / 3.107 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/7.319, allocations: 204.9 kB / 3.107 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/7.32, allocations: 382.1 kB / 3.108 GB, free: 138 MB / 0.6823 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.001993/7.322, allocations: 0.7014 MB / 3.108 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/7.322, allocations: 2.188 kB / 3.108 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001269/7.323, allocations: 0.6808 MB / 3.109 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/7.323, allocations: 6.5 kB / 3.109 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/7.323, allocations: 5.125 kB / 3.109 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/7.323, allocations: 8.438 kB / 3.109 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/7.324, allocations: 152.7 kB / 3.109 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/7.324, allocations: 10.88 kB / 3.109 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/7.325, allocations: 95.31 kB / 3.109 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/7.325, allocations: 25.66 kB / 3.109 GB, free: 137.8 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002494/7.326, allocations: 150 kB / 3.11 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/7.326, allocations: 104.6 kB / 3.11 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003199/7.326, allocations: 98.55 kB / 3.11 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/7.326, allocations: 3.688 kB / 3.11 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/7.326, allocations: 3.938 kB / 3.11 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007456/7.327, allocations: 0.6596 MB / 3.11 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/7.33, allocations: 1.579 MB / 3.112 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/7.33, allocations: 7.609 kB / 3.112 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/7.331, allocations: 84.83 kB / 3.112 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/7.331, allocations: 6.031 kB / 3.112 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/7.331, allocations: 10.34 kB / 3.112 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/7.331, allocations: 15.12 kB / 3.112 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/7.331, allocations: 6.594 kB / 3.112 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/7.332, allocations: 1.037 MB / 3.113 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005895/7.333, allocations: 236.1 kB / 3.113 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/7.333, allocations: 14.17 kB / 3.113 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000767/7.334, allocations: 60.25 kB / 3.113 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/7.334, allocations: 33.55 kB / 3.113 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.207e-05/7.334, allocations: 23.86 kB / 3.113 GB, free: 136 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001142/7.335, allocations: 0.6624 MB / 3.114 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.41e-07/7.335, allocations: 1.125 kB / 3.114 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00192/7.337, allocations: 382 kB / 3.114 GB, free: 135.9 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004506/7.341, allocations: 3.905 MB / 3.118 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009922/7.342, allocations: 456.7 kB / 3.119 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/7.342, allocations: 1.031 kB / 3.119 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/7.343, allocations: 188.1 kB / 3.119 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/7.346, allocations: 0.5851 MB / 3.119 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/7.351, allocations: 1.689 MB / 3.121 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/7.353, allocations: 1.119 MB / 3.122 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001468/7.354, allocations: 242.3 kB / 3.122 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006861/7.355, allocations: 340.7 kB / 3.123 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of SimCode: time 7.81e-07/7.355, allocations: 0 / 3.123 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/7.457, allocations: 50.71 MB / 3.172 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/7.458, allocations: 208 kB / 3.172 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.532/10.99, allocations: 0 / 3.172 GB, free: 130.7 MB / 0.6823 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/linux/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)