Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.005013/0.005013, allocations: 101.5 kB / 15.73 MB, free: 5.555 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.001077/0.001077, allocations: 194.6 kB / 16.67 MB, free: 5.484 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7371/0.7371, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.89 kB / 0.5809 GB, free: 8.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.34, allocations: 80.21 MB / 0.6592 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5402/0.8802, allocations: 221 MB / 0.8751 GB, free: 16.87 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007736/0.888, allocations: 5.713 MB / 0.8807 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009485/0.889, allocations: 42.56 kB / 0.8807 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.8904, allocations: 0.5955 MB / 0.8813 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003696/0.8941, allocations: 1.908 MB / 0.8831 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.8967, allocations: 1.198 MB / 0.8843 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003484/0.9002, allocations: 2.946 MB / 0.8872 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.9014, allocations: 1.03 MB / 0.8882 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.9031, allocations: 1.108 MB / 0.8893 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.9048, allocations: 0.9403 MB / 0.8902 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.905, allocations: 108.9 kB / 0.8903 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/0.9077, allocations: 1.435 MB / 0.8917 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004276/0.9081, allocations: 458.5 kB / 0.8921 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007594/0.9089, allocations: 0.6534 MB / 0.8928 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.9116, allocations: 2.139 MB / 0.8949 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.9116, allocations: 8.984 kB / 0.8949 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9116, allocations: 0 / 0.8949 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.308e-05/0.9117, allocations: 1.422 kB / 0.8949 GB, free: 16.46 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.00227/0.9139, allocations: 1.538 MB / 0.8964 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.914, allocations: 13.31 kB / 0.8964 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.9141, allocations: 143.2 kB / 0.8965 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.9161, allocations: 313.9 kB / 0.8968 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.9175, allocations: 0.8687 MB / 0.8977 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/0.9175, allocations: 66.69 kB / 0.8977 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.9177, allocations: 85.53 kB / 0.8978 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.9192, allocations: 0.9143 MB / 0.8987 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.9193, allocations: 0 / 0.8987 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.144e-05/0.9194, allocations: 36.97 kB / 0.8987 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-05/0.9194, allocations: 36.38 kB / 0.8988 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.9208, allocations: 0.8328 MB / 0.8996 GB, free: 15.16 MB / 0.6856 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.00475/0.9256, allocations: 3.521 MB / 0.903 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.9264, allocations: 0.492 MB / 0.9035 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004386/0.9268, allocations: 303.9 kB / 0.9038 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/0.927, allocations: 101.5 kB / 0.9039 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.927, allocations: 39.88 kB / 0.9039 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 1.893e-06/0.927, allocations: 0.5 kB / 0.9039 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.003254/0.9303, allocations: 1.888 MB / 0.9058 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.9303, allocations: 64.5 kB / 0.9058 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007564/0.9311, allocations: 0.8074 MB / 0.9066 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.9311, allocations: 38.58 kB / 0.9067 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.9314, allocations: 490.9 kB / 0.9071 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.9315, allocations: 182 kB / 0.9073 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.9317, allocations: 117.8 kB / 0.9074 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.9317, allocations: 330.7 kB / 0.9077 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.9321, allocations: 244.9 kB / 0.908 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.9325, allocations: 379.5 kB / 0.9083 GB, free: 11.96 MB / 0.6856 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.003149/0.9357, allocations: 1.535 MB / 0.9098 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.9357, allocations: 0.9375 kB / 0.9098 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001087/0.9368, allocations: 0.7972 MB / 0.9106 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.9368, allocations: 6.219 kB / 0.9106 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.9368, allocations: 6.391 kB / 0.9106 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.937, allocations: 75.47 kB / 0.9107 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/0.9376, allocations: 148.9 kB / 0.9108 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.9394, allocations: 3.114 MB / 0.9139 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/0.9402, allocations: 31.91 kB / 0.9139 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.9402, allocations: 23.12 kB / 0.9139 GB, free: 8.918 MB / 0.6856 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: 14 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003558/0.9406, allocations: 321.1 kB / 0.9142 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.9407, allocations: 95.75 kB / 0.9143 GB, free: 8.742 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.9409, allocations: 105.4 kB / 0.9144 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.9409, allocations: 6.344 kB / 0.9144 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.9409, allocations: 0 / 0.9144 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007962/0.9417, allocations: 0.834 MB / 0.9152 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.9442, allocations: 1.786 MB / 0.917 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.9442, allocations: 3.312 kB / 0.917 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/0.9448, allocations: 135.8 kB / 0.9171 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.436e-05/0.9449, allocations: 37.95 kB / 0.9172 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.945, allocations: 15.77 kB / 0.9172 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008188/0.9458, allocations: 1.593 MB / 0.9187 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9458, allocations: 6.344 kB / 0.9187 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.9471, allocations: 1.105 MB / 0.9198 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.9474, allocations: 244.2 kB / 0.92 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.9476, allocations: 14.69 kB / 0.9201 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006841/0.9483, allocations: 33.73 kB / 0.9201 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/0.9484, allocations: 45.78 kB / 0.9201 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.9484, allocations: 28.66 kB / 0.9202 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000574/0.949, allocations: 0.5642 MB / 0.9207 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.949, allocations: 3.594 kB / 0.9207 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008011/0.9498, allocations: 271 kB / 0.921 GB, free: 5.938 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[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 (47): * Single equations (assignments): 46 * 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.00179/0.9516, allocations: 1.732 MB / 0.9227 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.9527, allocations: 0.8166 MB / 0.9235 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.9528, allocations: 2 kB / 0.9235 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.9532, allocations: 409.2 kB / 0.9239 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.9557, allocations: 0.5886 MB / 0.9244 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007689/0.9634, allocations: 7.028 MB / 0.9313 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.9638, allocations: 1.092 MB / 0.9324 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00073/0.9646, allocations: 219.2 kB / 0.9326 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.965, allocations: 343.4 kB / 0.9329 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of SimCode: time 4.41e-07/0.965, allocations: 0 / 0.9329 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05292/1.018, allocations: 27.45 MB / 0.9597 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.2, allocations: 14.48 kB / 0.9597 GB, free: 15.75 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)