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.001426/0.001426, allocations: 108 kB / 15.6 MB, free: 132 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.001573/0.001573, allocations: 199.1 kB / 16.54 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.332/1.332, 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.7683/0.7683, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 65.88 kB / 0.5019 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1378, allocations: 80.2 MB / 0.5802 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4193/0.5571, allocations: 190.4 MB / 0.7662 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008358/0.5655, allocations: 5.695 MB / 0.7717 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.5668, allocations: 43.75 kB / 0.7718 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.5689, allocations: 0.5669 MB / 0.7723 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006057/0.575, allocations: 1.826 MB / 0.7741 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004262/0.5793, allocations: 1.169 MB / 0.7753 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004678/0.584, allocations: 2.949 MB / 0.7781 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/0.586, allocations: 1.12 MB / 0.7792 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.5883, allocations: 1.062 MB / 0.7803 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.5902, allocations: 0.9596 MB / 0.7812 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002565/0.5905, allocations: 124 kB / 0.7813 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003773/0.5943, allocations: 1.442 MB / 0.7827 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00088/0.5951, allocations: 0.565 MB / 0.7833 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.5965, allocations: 0.7234 MB / 0.784 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003934/0.6005, allocations: 2.337 MB / 0.7863 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6005, allocations: 0 / 0.7863 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6005, allocations: 0 / 0.7863 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.686e-05/0.6006, allocations: 0 / 0.7863 GB, free: 15.85 MB / 0.6075 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.003635/0.6042, allocations: 1.619 MB / 0.7879 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.6043, allocations: 11.97 kB / 0.7879 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002653/0.6046, allocations: 160.2 kB / 0.788 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003305/0.6079, allocations: 326.2 kB / 0.7883 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.6098, allocations: 0.8669 MB / 0.7892 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/0.6099, allocations: 74 kB / 0.7892 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.6101, allocations: 99.94 kB / 0.7893 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.6125, allocations: 1.089 MB / 0.7904 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.6126, allocations: 7.922 kB / 0.7904 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.6127, allocations: 43.94 kB / 0.7905 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.98e-05/0.6128, allocations: 41.98 kB / 0.7905 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.6146, allocations: 0.9915 MB / 0.7915 GB, free: 10.43 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.005872/0.6205, allocations: 4.256 MB / 0.7956 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/0.6214, allocations: 0.5997 MB / 0.7962 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/0.622, allocations: 342.5 kB / 0.7965 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.6222, allocations: 105.5 kB / 0.7966 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.6222, allocations: 46.94 kB / 0.7967 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.274e-06/0.6223, allocations: 0 / 0.7967 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.003953/0.6262, allocations: 2.193 MB / 0.7988 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.6263, allocations: 63.97 kB / 0.7989 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.6273, allocations: 0.8803 MB / 0.7997 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.6274, allocations: 45.7 kB / 0.7998 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.6278, allocations: 0.5146 MB / 0.8003 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.628, allocations: 193.2 kB / 0.8005 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.6282, allocations: 130.6 kB / 0.8006 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6283, allocations: 329.9 kB / 0.8009 GB, free: 260 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.6288, allocations: 289.9 kB / 0.8012 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.6294, allocations: 448.5 kB / 0.8016 GB, free: 15.48 MB / 0.6231 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.003998/0.6335, allocations: 1.741 MB / 0.8033 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6335, allocations: 1 kB / 0.8033 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001452/0.6349, allocations: 0.9218 MB / 0.8042 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.635, allocations: 14 kB / 0.8042 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.635, allocations: 4 kB / 0.8042 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/0.6352, allocations: 98.52 kB / 0.8043 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.6359, allocations: 159.8 kB / 0.8045 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.6395, allocations: 4.637 MB / 0.809 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008388/0.6403, allocations: 51.75 kB / 0.8091 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.6404, allocations: 24 kB / 0.8091 GB, free: 7.316 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: 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.0004678/0.6409, allocations: 345.5 kB / 0.8094 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.6411, allocations: 98.88 kB / 0.8095 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.6413, allocations: 109.2 kB / 0.8096 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.6413, allocations: 8 kB / 0.8096 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6413, allocations: 4 kB / 0.8096 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001102/0.6424, allocations: 0.7652 MB / 0.8104 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.6455, allocations: 1.98 MB / 0.8123 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.6455, allocations: 4 kB / 0.8123 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006858/0.6462, allocations: 151.8 kB / 0.8124 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.649e-05/0.6463, allocations: 40.81 kB / 0.8125 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.6464, allocations: 16.25 kB / 0.8125 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.6476, allocations: 1.609 MB / 0.8141 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6476, allocations: 7.984 kB / 0.8141 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.6493, allocations: 1.234 MB / 0.8153 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/0.6497, allocations: 244.9 kB / 0.8155 GB, free: 356 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.6499, allocations: 23.92 kB / 0.8155 GB, free: 332 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007329/0.6506, allocations: 27.98 kB / 0.8156 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.6507, allocations: 51.88 kB / 0.8156 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/0.6508, allocations: 27.98 kB / 0.8156 GB, free: 224 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007851/0.6516, allocations: 0.6161 MB / 0.8162 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6516, allocations: 0 / 0.8162 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008912/0.6525, allocations: 300 kB / 0.8165 GB, free: 15.31 MB / 0.6387 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.002361/0.6549, allocations: 1.885 MB / 0.8184 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.6565, allocations: 1.11 MB / 0.8195 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.6566, allocations: 0 / 0.8195 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.6572, allocations: 455.5 kB / 0.8199 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/0.66, allocations: 0.6549 MB / 0.8205 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.671, allocations: 8.27 MB / 0.8286 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007724/0.6718, allocations: 1.177 MB / 0.8298 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000938/0.6727, allocations: 252.4 kB / 0.83 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/0.6732, allocations: 383.3 kB / 0.8304 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.6732, allocations: 0 / 0.8304 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06026/0.7335, allocations: 30.3 MB / 0.86 GB, free: 2.879 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.76, allocations: 2.656 kB / 0.86 GB, free: 2.879 MB / 0.67 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)