Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_dev_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.004794/0.004794, allocations: 100 kB / 15.73 MB, free: 6.047 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.00114/0.00114, allocations: 195.4 kB / 16.67 MB, free: 5.949 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7708/0.7708, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.42 kB / 0.5852 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1294, allocations: 80.91 MB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5064/0.6358, allocations: 221.1 MB / 0.8801 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008079/0.644, allocations: 5.71 MB / 0.8856 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007843/0.6448, allocations: 39.81 kB / 0.8857 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.6461, allocations: 0.6058 MB / 0.8863 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003631/0.6497, allocations: 1.903 MB / 0.8881 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.6523, allocations: 1.197 MB / 0.8893 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002964/0.6553, allocations: 2.948 MB / 0.8922 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.6564, allocations: 1.016 MB / 0.8932 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.6578, allocations: 1.121 MB / 0.8943 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.6594, allocations: 0.938 MB / 0.8952 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.6596, allocations: 111.9 kB / 0.8953 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.6621, allocations: 1.434 MB / 0.8967 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004331/0.6625, allocations: 462.8 kB / 0.8971 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006349/0.6632, allocations: 0.6456 MB / 0.8978 GB, free: 144 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.6656, allocations: 2.137 MB / 0.8998 GB, free: 14 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.6656, allocations: 0 / 0.8998 GB, free: 14 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6656, allocations: 4 kB / 0.8998 GB, free: 13.99 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.6657, allocations: 0 / 0.8998 GB, free: 13.99 MB / 0.67 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.002203/0.6679, allocations: 1.545 MB / 0.9014 GB, free: 12.39 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.6679, allocations: 13.11 kB / 0.9014 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.6681, allocations: 143.3 kB / 0.9015 GB, free: 12.23 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.67, allocations: 319 kB / 0.9018 GB, free: 11.92 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.6713, allocations: 0.8599 MB / 0.9026 GB, free: 11.02 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.6714, allocations: 66 kB / 0.9027 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.6715, allocations: 87.95 kB / 0.9028 GB, free: 10.87 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.673, allocations: 0.9073 MB / 0.9037 GB, free: 9.953 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.673, allocations: 0 / 0.9037 GB, free: 9.953 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.972e-05/0.6731, allocations: 47.94 kB / 0.9037 GB, free: 9.906 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.6732, allocations: 34 kB / 0.9038 GB, free: 9.875 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.6745, allocations: 0.8353 MB / 0.9046 GB, free: 9.039 MB / 0.67 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.004836/0.6794, allocations: 3.514 MB / 0.908 GB, free: 5.309 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/0.6801, allocations: 0.495 MB / 0.9085 GB, free: 4.809 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.6806, allocations: 301.9 kB / 0.9088 GB, free: 4.512 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.6808, allocations: 105.5 kB / 0.9089 GB, free: 4.387 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.6808, allocations: 43 kB / 0.9089 GB, free: 4.336 MB / 0.67 GB Notification: Performance of pre-optimization done (n=47): time 1.934e-06/0.6808, allocations: 0 / 0.9089 GB, free: 4.336 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.003293/0.6841, allocations: 1.889 MB / 0.9108 GB, free: 2.352 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.6842, allocations: 59.84 kB / 0.9108 GB, free: 2.281 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008799/0.6851, allocations: 0.8136 MB / 0.9116 GB, free: 1.457 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.904e-05/0.6851, allocations: 37.7 kB / 0.9116 GB, free: 1.414 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.6854, allocations: 480.2 kB / 0.9121 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.6856, allocations: 186.4 kB / 0.9123 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.6858, allocations: 114.2 kB / 0.9124 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6859, allocations: 338 kB / 0.9127 GB, free: 308 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.6863, allocations: 237.2 kB / 0.9129 GB, free: 68 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/0.6868, allocations: 388.7 kB / 0.9133 GB, free: 15.64 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.003496/0.6903, allocations: 1.535 MB / 0.9148 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.6903, allocations: 0 / 0.9148 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001228/0.6916, allocations: 0.7853 MB / 0.9156 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.6916, allocations: 12 kB / 0.9156 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6916, allocations: 7.938 kB / 0.9156 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.6918, allocations: 65.62 kB / 0.9157 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000668/0.6925, allocations: 147.8 kB / 0.9158 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.6947, allocations: 3.122 MB / 0.9189 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/0.6955, allocations: 34.64 kB / 0.9189 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.6956, allocations: 23.98 kB / 0.9189 GB, free: 9.551 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.0003792/0.6959, allocations: 310.9 kB / 0.9192 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.6961, allocations: 99.39 kB / 0.9193 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.6963, allocations: 100.7 kB / 0.9194 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6963, allocations: 4 kB / 0.9194 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.6963, allocations: 0 / 0.9194 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009751/0.6973, allocations: 0.8387 MB / 0.9202 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/0.6999, allocations: 1.787 MB / 0.922 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.6999, allocations: 0 / 0.922 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006294/0.7006, allocations: 140.2 kB / 0.9221 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.99e-05/0.7007, allocations: 36.84 kB / 0.9221 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.7007, allocations: 12 kB / 0.9221 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.7018, allocations: 1.602 MB / 0.9237 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7018, allocations: 4 kB / 0.9237 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.7033, allocations: 1.097 MB / 0.9248 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/0.7037, allocations: 240.5 kB / 0.925 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.7038, allocations: 15.94 kB / 0.925 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.7045, allocations: 30 kB / 0.9251 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.7046, allocations: 44.02 kB / 0.9251 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.7047, allocations: 27.98 kB / 0.9251 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006522/0.7053, allocations: 0.5692 MB / 0.9257 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.453e-06/0.7053, allocations: 0 / 0.9257 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007621/0.7061, allocations: 279.9 kB / 0.9259 GB, free: 1.926 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.001974/0.7081, allocations: 1.738 MB / 0.9276 GB, free: 124 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.7093, allocations: 0.8116 MB / 0.9284 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7093, allocations: 4 kB / 0.9284 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005384/0.7098, allocations: 411.7 kB / 0.9288 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.7124, allocations: 0.6024 MB / 0.9294 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008621/0.721, allocations: 7.022 MB / 0.9363 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005959/0.7216, allocations: 1.087 MB / 0.9373 GB, free: 5.844 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006979/0.7223, allocations: 219.7 kB / 0.9375 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004244/0.7228, allocations: 343.3 kB / 0.9379 GB, free: 5.289 MB / 0.7012 GB Notification: Performance of SimCode: time 5.31e-07/0.7228, allocations: 0 / 0.9379 GB, free: 5.289 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0509/0.7737, allocations: 27.45 MB / 0.9647 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.87, allocations: 8.844 kB / 0.9647 GB, free: 10.21 MB / 0.7325 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)