Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.007198/0.007198, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001919/0.001919, allocations: 203.6 kB / 16.68 MB, free: 5.969 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.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7741/0.7741, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 60.64 kB / 0.5809 GB, free: 1.066 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1515, allocations: 80.2 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5122/0.6638, allocations: 190.4 MB / 0.8452 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007957/0.6718, allocations: 5.694 MB / 0.8508 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.6732, allocations: 40.19 kB / 0.8508 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.6745, allocations: 0.5701 MB / 0.8514 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004038/0.6786, allocations: 1.828 MB / 0.8531 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.6811, allocations: 1.178 MB / 0.8543 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003119/0.6842, allocations: 2.945 MB / 0.8572 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.6856, allocations: 1.132 MB / 0.8583 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.6874, allocations: 1.059 MB / 0.8593 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.689, allocations: 0.9624 MB / 0.8602 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.6892, allocations: 120.5 kB / 0.8604 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002672/0.6919, allocations: 1.451 MB / 0.8618 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004544/0.6923, allocations: 0.5645 MB / 0.8623 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006977/0.6931, allocations: 0.7267 MB / 0.863 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002678/0.6957, allocations: 2.349 MB / 0.8653 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6958, allocations: 4.812 kB / 0.8653 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6958, allocations: 0 / 0.8653 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.064e-05/0.6958, allocations: 0 / 0.8653 GB, free: 1.883 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002163/0.698, allocations: 1.658 MB / 0.867 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.698, allocations: 10.84 kB / 0.867 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.6982, allocations: 163.6 kB / 0.8671 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.7, allocations: 341.8 kB / 0.8674 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.7012, allocations: 0.92 MB / 0.8683 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.7012, allocations: 72.72 kB / 0.8684 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.7014, allocations: 105 kB / 0.8685 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.7029, allocations: 1.076 MB / 0.8696 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.7029, allocations: 0 / 0.8696 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.146e-05/0.703, allocations: 43.5 kB / 0.8696 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.7031, allocations: 47.7 kB / 0.8697 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.7044, allocations: 0.9897 MB / 0.8706 GB, free: 0.4961 MB / 0.6387 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.005235/0.7097, allocations: 4.226 MB / 0.8747 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007659/0.7104, allocations: 0.5881 MB / 0.8753 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/0.7109, allocations: 344.9 kB / 0.8756 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.7111, allocations: 102.6 kB / 0.8757 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.7111, allocations: 46.8 kB / 0.8758 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.074e-06/0.7111, allocations: 0 / 0.8758 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55): time 0.003799/0.7149, allocations: 2.218 MB / 0.878 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.715, allocations: 56.31 kB / 0.878 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008742/0.7159, allocations: 0.8864 MB / 0.8789 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/0.716, allocations: 36.8 kB / 0.8789 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.7163, allocations: 0.5265 MB / 0.8794 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.7165, allocations: 210 kB / 0.8796 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.7168, allocations: 136.3 kB / 0.8798 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.7169, allocations: 338.6 kB / 0.8801 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.7174, allocations: 281.9 kB / 0.8803 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.718, allocations: 441.9 kB / 0.8808 GB, free: 12.46 MB / 0.6544 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.003694/0.7217, allocations: 1.734 MB / 0.8825 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.7217, allocations: 4.062 kB / 0.8825 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001478/0.7232, allocations: 0.9299 MB / 0.8834 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.7232, allocations: 9.859 kB / 0.8834 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.7232, allocations: 3.062 kB / 0.8834 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.7234, allocations: 93 kB / 0.8835 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/0.7241, allocations: 164.6 kB / 0.8836 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004114/0.7282, allocations: 4.651 MB / 0.8882 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008641/0.7291, allocations: 31.23 kB / 0.8882 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.7292, allocations: 26.02 kB / 0.8882 GB, free: 6.969 MB / 0.6544 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005533/0.7298, allocations: 341.2 kB / 0.8886 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.7299, allocations: 109 kB / 0.8887 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.7301, allocations: 112.3 kB / 0.8888 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7301, allocations: 7.938 kB / 0.8888 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.7302, allocations: 1 kB / 0.8888 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001031/0.7312, allocations: 0.7613 MB / 0.8895 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.7342, allocations: 1.989 MB / 0.8915 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.7342, allocations: 5.688 kB / 0.8915 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00062/0.7348, allocations: 150.7 kB / 0.8916 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.333e-05/0.7349, allocations: 44.28 kB / 0.8917 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.735, allocations: 18.77 kB / 0.8917 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.7363, allocations: 1.606 MB / 0.8932 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.7363, allocations: 11.53 kB / 0.8932 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.7381, allocations: 1.236 MB / 0.8945 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004328/0.7385, allocations: 258.4 kB / 0.8947 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.7386, allocations: 15.34 kB / 0.8947 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/0.7393, allocations: 30.75 kB / 0.8947 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.7395, allocations: 56.14 kB / 0.8948 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.12e-05/0.7396, allocations: 29.39 kB / 0.8948 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007406/0.7403, allocations: 0.6103 MB / 0.8954 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7403, allocations: 4 kB / 0.8954 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008643/0.7412, allocations: 308.2 kB / 0.8957 GB, free: 2.617 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002377/0.7436, allocations: 1.864 MB / 0.8975 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.7451, allocations: 1.012 MB / 0.8985 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7452, allocations: 6.125 kB / 0.8985 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006049/0.7458, allocations: 441.1 kB / 0.899 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/0.7485, allocations: 0.6518 MB / 0.8996 GB, free: 372 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.7598, allocations: 7.957 MB / 0.9074 GB, free: 10.31 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008749/0.7607, allocations: 1.17 MB / 0.9085 GB, free: 9.109 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009222/0.7617, allocations: 260.3 kB / 0.9088 GB, free: 8.852 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005257/0.7622, allocations: 375.3 kB / 0.9091 GB, free: 8.484 MB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/0.7622, allocations: 0 / 0.9091 GB, free: 8.484 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6426/1.405, allocations: 30.56 MB / 0.939 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.78, allocations: 15.83 kB / 0.939 GB, free: 10.51 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)