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.000826/0.000826, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008964/0.0008965, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7218/0.7218, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004436, allocations: 14.22 kB / 0.5035 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4374, allocations: 81.56 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1907/0.6282, allocations: 173.3 MB / 0.7524 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00928/0.6375, allocations: 5.377 MB / 0.7576 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.6392, allocations: 35.75 kB / 0.7577 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.6408, allocations: 393.5 kB / 0.758 GB, free: 13.09 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004492/0.6453, allocations: 1.365 MB / 0.7594 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.648, allocations: 0.8418 MB / 0.7602 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003873/0.6519, allocations: 3.446 MB / 0.7636 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.6532, allocations: 0.7979 MB / 0.7643 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.6549, allocations: 0.8907 MB / 0.7652 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.6564, allocations: 0.9068 MB / 0.7661 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.6566, allocations: 48 kB / 0.7661 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.6587, allocations: 0.7093 MB / 0.7668 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000694/0.6594, allocations: 494.6 kB / 0.7673 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005125/0.6599, allocations: 285.1 kB / 0.7676 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.6618, allocations: 1.629 MB / 0.7692 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6618, allocations: 0 / 0.7692 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6618, allocations: 3.938 kB / 0.7692 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.978e-05/0.6619, allocations: 4 kB / 0.7692 GB, free: 1.641 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002357/0.6643, allocations: 1.375 MB / 0.7705 GB, free: 220 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.6643, allocations: 16.02 kB / 0.7705 GB, free: 204 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000244/0.6646, allocations: 160.1 kB / 0.7707 GB, free: 36 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.6665, allocations: 334.1 kB / 0.771 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.6679, allocations: 0.8324 MB / 0.7718 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.829e-05/0.6679, allocations: 74 kB / 0.7719 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.6681, allocations: 100 kB / 0.772 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.6699, allocations: 1.089 MB / 0.773 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.6699, allocations: 0 / 0.773 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.292e-05/0.67, allocations: 40 kB / 0.7731 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.6701, allocations: 49.88 kB / 0.7731 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.6717, allocations: 0.9915 MB / 0.7741 GB, free: 12.48 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.005654/0.6774, allocations: 4.249 MB / 0.7783 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008742/0.6783, allocations: 0.5919 MB / 0.7788 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/0.6788, allocations: 346.5 kB / 0.7792 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.679, allocations: 109.5 kB / 0.7793 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.679, allocations: 43 kB / 0.7793 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 3.496e-06/0.679, allocations: 0 / 0.7793 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.003872/0.6829, allocations: 2.22 MB / 0.7815 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.683, allocations: 55.97 kB / 0.7815 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.6841, allocations: 0.8764 MB / 0.7824 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.6841, allocations: 41.7 kB / 0.7824 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.6845, allocations: 0.5146 MB / 0.7829 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.6847, allocations: 201.1 kB / 0.7831 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.6847, allocations: 8 kB / 0.7831 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6848, allocations: 337.9 kB / 0.7834 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/0.6853, allocations: 289.8 kB / 0.7837 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/0.6859, allocations: 446.6 kB / 0.7842 GB, free: 1.645 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.002701/0.6886, allocations: 1.096 MB / 0.7852 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.6886, allocations: 4 kB / 0.7852 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001475/0.6901, allocations: 0.9301 MB / 0.7861 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.6902, allocations: 4 kB / 0.7861 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.6902, allocations: 4 kB / 0.7861 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.6904, allocations: 98.52 kB / 0.7862 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007124/0.6911, allocations: 175.7 kB / 0.7864 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003452/0.6946, allocations: 4.286 MB / 0.7906 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008906/0.6955, allocations: 79.94 kB / 0.7907 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.44e-05/0.6956, allocations: 24 kB / 0.7907 GB, free: 10.52 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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006323/0.6962, allocations: 354 kB / 0.791 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.6964, allocations: 106.8 kB / 0.7911 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.6967, allocations: 109.2 kB / 0.7912 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.6967, allocations: 4 kB / 0.7912 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.6967, allocations: 0 / 0.7912 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001126/0.6978, allocations: 0.7731 MB / 0.792 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.7011, allocations: 1.995 MB / 0.7939 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.7012, allocations: 11.98 kB / 0.7939 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/0.7018, allocations: 156.2 kB / 0.7941 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.7019, allocations: 44.77 kB / 0.7941 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.702, allocations: 16 kB / 0.7942 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.7031, allocations: 1.48 MB / 0.7956 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.7032, allocations: 4 kB / 0.7956 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.7049, allocations: 1.238 MB / 0.7968 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004401/0.7054, allocations: 252 kB / 0.7971 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.7055, allocations: 12 kB / 0.7971 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000758/0.7063, allocations: 89.41 kB / 0.7972 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.7064, allocations: 39.89 kB / 0.7972 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.807e-05/0.7065, allocations: 31.98 kB / 0.7972 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007716/0.7073, allocations: 0.6083 MB / 0.7978 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7073, allocations: 0 / 0.7978 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009251/0.7082, allocations: 304 kB / 0.7981 GB, free: 2.539 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002359/0.7106, allocations: 1.892 MB / 0.8 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001557/0.7122, allocations: 0.9948 MB / 0.8009 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.7122, allocations: 4 kB / 0.8009 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.7128, allocations: 451.8 kB / 0.8014 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.7154, allocations: 0.6189 MB / 0.802 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009574/0.725, allocations: 6.253 MB / 0.8081 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008028/0.7258, allocations: 1.17 MB / 0.8092 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009889/0.7268, allocations: 248.4 kB / 0.8094 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005304/0.7274, allocations: 387.3 kB / 0.8098 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/0.7274, allocations: 0 / 0.8098 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3226/1.05, allocations: 29.95 MB / 0.8391 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/1.05, allocations: 285.4 kB / 0.8393 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/3.379, allocations: 0 / 0.8393 GB, free: 208.1 MB / 0.6387 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/linux/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) Environment - environmentSimulation: