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.006862/0.006862, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001491/0.001492, allocations: 192.3 kB / 16.67 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7594/0.7594, allocations: 132.2 MB / 422.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.28 kB / 0.5809 GB, free: 24.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1311, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4818/0.6129, allocations: 190.5 MB / 0.8452 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008177/0.6211, allocations: 5.689 MB / 0.8508 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008713/0.622, allocations: 36.53 kB / 0.8508 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.6234, allocations: 0.5954 MB / 0.8514 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003702/0.6271, allocations: 1.897 MB / 0.8532 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.6296, allocations: 1.181 MB / 0.8544 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002793/0.6324, allocations: 2.955 MB / 0.8573 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.6336, allocations: 1.128 MB / 0.8584 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.635, allocations: 1.108 MB / 0.8595 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.6365, allocations: 0.9695 MB / 0.8604 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.6367, allocations: 124 kB / 0.8605 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.6392, allocations: 1.454 MB / 0.8619 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005084/0.6397, allocations: 0.5689 MB / 0.8625 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007094/0.6404, allocations: 0.7234 MB / 0.8632 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.6431, allocations: 2.346 MB / 0.8655 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6431, allocations: 0 / 0.8655 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6431, allocations: 0 / 0.8655 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.6432, allocations: 4 kB / 0.8655 GB, free: 2.926 MB / 0.6231 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.002394/0.6456, allocations: 1.669 MB / 0.8671 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.6456, allocations: 8.031 kB / 0.8671 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.6458, allocations: 156.2 kB / 0.8673 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.6477, allocations: 330.9 kB / 0.8676 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.6492, allocations: 0.9222 MB / 0.8685 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/0.6493, allocations: 77.94 kB / 0.8686 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.6494, allocations: 92 kB / 0.8687 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.6512, allocations: 1.081 MB / 0.8697 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.6512, allocations: 11.83 kB / 0.8697 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.681e-05/0.6513, allocations: 40 kB / 0.8698 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.306e-05/0.6514, allocations: 41.98 kB / 0.8698 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.653, allocations: 0.9876 MB / 0.8708 GB, free: 13.41 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.005677/0.6587, allocations: 4.219 MB / 0.8749 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008678/0.6596, allocations: 0.5991 MB / 0.8755 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/0.6601, allocations: 342.5 kB / 0.8758 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.6603, allocations: 101.5 kB / 0.8759 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.6603, allocations: 51 kB / 0.8759 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.084e-06/0.6603, allocations: 0 / 0.8759 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.0037/0.664, allocations: 2.218 MB / 0.8781 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.6641, allocations: 55.97 kB / 0.8782 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009577/0.665, allocations: 0.8883 MB / 0.879 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.6651, allocations: 37.7 kB / 0.8791 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.6654, allocations: 0.5235 MB / 0.8796 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.6656, allocations: 214.2 kB / 0.8798 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.6658, allocations: 130.6 kB / 0.8799 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6659, allocations: 334 kB / 0.8802 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.6664, allocations: 289.8 kB / 0.8805 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/0.667, allocations: 448.2 kB / 0.8809 GB, free: 2.438 MB / 0.6387 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.003718/0.6707, allocations: 1.737 MB / 0.8826 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6707, allocations: 0 / 0.8826 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001434/0.6721, allocations: 0.9344 MB / 0.8835 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.6722, allocations: 8 kB / 0.8835 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6722, allocations: 4 kB / 0.8836 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.6724, allocations: 102.5 kB / 0.8837 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000717/0.6731, allocations: 163.8 kB / 0.8838 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.6763, allocations: 4.632 MB / 0.8883 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008132/0.6771, allocations: 38.14 kB / 0.8884 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.6772, allocations: 31.98 kB / 0.8884 GB, free: 10.28 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.0004447/0.6777, allocations: 346.6 kB / 0.8887 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.6778, allocations: 107.3 kB / 0.8888 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.678, allocations: 109.2 kB / 0.8889 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.678, allocations: 4 kB / 0.8889 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.678, allocations: 4 kB / 0.8889 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/0.6791, allocations: 0.7691 MB / 0.8897 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.682, allocations: 1.989 MB / 0.8916 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.682, allocations: 0 / 0.8916 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006793/0.6827, allocations: 147.8 kB / 0.8918 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-05/0.6828, allocations: 44.83 kB / 0.8918 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.6828, allocations: 12 kB / 0.8918 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.684, allocations: 1.61 MB / 0.8934 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.684, allocations: 4 kB / 0.8934 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.6856, allocations: 1.24 MB / 0.8946 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.686, allocations: 256.5 kB / 0.8949 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.6862, allocations: 19.98 kB / 0.8949 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007149/0.6869, allocations: 35.94 kB / 0.8949 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/0.687, allocations: 43.83 kB / 0.895 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.982e-05/0.6871, allocations: 39.97 kB / 0.895 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007017/0.6878, allocations: 0.6083 MB / 0.8956 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6878, allocations: 7.938 kB / 0.8956 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008248/0.6886, allocations: 300 kB / 0.8959 GB, free: 2.242 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.002148/0.6908, allocations: 1.879 MB / 0.8977 GB, free: 316 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.6922, allocations: 1.019 MB / 0.8987 GB, free: 15.25 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.6922, allocations: 4.312 kB / 0.8987 GB, free: 15.24 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005896/0.6928, allocations: 442.2 kB / 0.8991 GB, free: 14.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/0.6955, allocations: 0.6492 MB / 0.8998 GB, free: 14.18 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009821/0.7053, allocations: 7.959 MB / 0.9075 GB, free: 5.906 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/0.7061, allocations: 1.17 MB / 0.9087 GB, free: 4.707 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008174/0.7069, allocations: 248.4 kB / 0.9089 GB, free: 4.461 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004993/0.7074, allocations: 379.3 kB / 0.9093 GB, free: 4.09 MB / 0.67 GB Notification: Performance of SimCode: time 5.81e-07/0.7074, allocations: 0 / 0.9093 GB, free: 4.09 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05605/0.7635, allocations: 30.54 MB / 0.9391 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.95, allocations: 7.922 kB / 0.9391 GB, free: 5.969 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)