Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.001071/0.001071, 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.001073/0.001073, allocations: 192 kB / 16.53 MB, free: 6.391 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 289.7 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9022/0.9022, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 90.75 kB / 0.5953 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1324, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4493/0.5817, allocations: 221.1 MB / 0.8962 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00824/0.59, allocations: 5.728 MB / 0.9018 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009202/0.5909, allocations: 40.88 kB / 0.9018 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.5922, allocations: 0.574 MB / 0.9024 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003562/0.5958, allocations: 1.847 MB / 0.9042 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.5982, allocations: 1.176 MB / 0.9053 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002697/0.6009, allocations: 2.953 MB / 0.9082 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.6021, allocations: 1.024 MB / 0.9092 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.6035, allocations: 1.066 MB / 0.9102 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.6051, allocations: 0.9259 MB / 0.9111 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.6053, allocations: 108 kB / 0.9112 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.6077, allocations: 1.434 MB / 0.9126 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.6081, allocations: 470.8 kB / 0.9131 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005897/0.6087, allocations: 0.6533 MB / 0.9137 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.6109, allocations: 2.119 MB / 0.9158 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6109, allocations: 0 / 0.9158 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6109, allocations: 0 / 0.9158 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.6109, allocations: 0 / 0.9158 GB, free: 5.98 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002048/0.6129, allocations: 1.51 MB / 0.9173 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.613, allocations: 12.03 kB / 0.9173 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.6131, allocations: 139.3 kB / 0.9174 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.615, allocations: 326.2 kB / 0.9177 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.6161, allocations: 0.8085 MB / 0.9185 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.6161, allocations: 66 kB / 0.9186 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.6163, allocations: 83.91 kB / 0.9187 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.6176, allocations: 0.917 MB / 0.9196 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.6177, allocations: 4 kB / 0.9196 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-05/0.6178, allocations: 43.98 kB / 0.9196 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/0.6178, allocations: 37.88 kB / 0.9196 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.6191, allocations: 0.8354 MB / 0.9205 GB, free: 1.102 MB / 0.6231 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.004643/0.6238, allocations: 3.551 MB / 0.9239 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007056/0.6245, allocations: 497.4 kB / 0.9244 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.6249, allocations: 301.9 kB / 0.9247 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.6251, allocations: 101.5 kB / 0.9248 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.6251, allocations: 50.94 kB / 0.9248 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 1.683e-06/0.6251, allocations: 0 / 0.9248 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003258/0.6284, allocations: 1.872 MB / 0.9267 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.6284, allocations: 59.84 kB / 0.9267 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008676/0.6293, allocations: 0.8097 MB / 0.9275 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.6294, allocations: 37.7 kB / 0.9275 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.6297, allocations: 471.3 kB / 0.928 GB, free: 9 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.6298, allocations: 177.5 kB / 0.9282 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.63, allocations: 114.2 kB / 0.9283 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.6301, allocations: 334 kB / 0.9286 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.6305, allocations: 245.2 kB / 0.9288 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/0.631, allocations: 384.6 kB / 0.9292 GB, free: 7.711 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.003526/0.6346, allocations: 1.544 MB / 0.9307 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6346, allocations: 4 kB / 0.9307 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001285/0.6359, allocations: 0.7924 MB / 0.9315 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.6359, allocations: 8 kB / 0.9315 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6359, allocations: 4 kB / 0.9315 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.6361, allocations: 65.67 kB / 0.9316 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.6367, allocations: 152 kB / 0.9317 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.639, allocations: 3.131 MB / 0.9348 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/0.6398, allocations: 29.55 kB / 0.9348 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.6398, allocations: 24.64 kB / 0.9348 GB, free: 1.609 MB / 0.6387 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.0004287/0.6403, allocations: 310.2 kB / 0.9351 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.6404, allocations: 90.97 kB / 0.9352 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.6406, allocations: 100.7 kB / 0.9353 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6406, allocations: 4 kB / 0.9353 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.6406, allocations: 0 / 0.9353 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009654/0.6416, allocations: 0.8387 MB / 0.9361 GB, free: 180 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/0.6441, allocations: 1.795 MB / 0.9379 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.6441, allocations: 4 kB / 0.9379 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000594/0.6447, allocations: 132.2 kB / 0.938 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.039e-05/0.6448, allocations: 48.88 kB / 0.938 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.6449, allocations: 15.98 kB / 0.9381 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.646, allocations: 1.594 MB / 0.9396 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.646, allocations: 4 kB / 0.9396 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.6474, allocations: 1.072 MB / 0.9407 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.6477, allocations: 228 kB / 0.9409 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.6478, allocations: 16 kB / 0.9409 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006581/0.6485, allocations: 38.06 kB / 0.9409 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-05/0.6486, allocations: 40.02 kB / 0.941 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/0.6486, allocations: 35.91 kB / 0.941 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006225/0.6493, allocations: 0.5576 MB / 0.9415 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6493, allocations: 0 / 0.9415 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007617/0.65, allocations: 272 kB / 0.9418 GB, free: 10.03 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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.001983/0.652, allocations: 1.696 MB / 0.9435 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.6534, allocations: 0.8744 MB / 0.9443 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.6534, allocations: 4 kB / 0.9443 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005258/0.6539, allocations: 407.8 kB / 0.9447 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/0.6564, allocations: 0.5932 MB / 0.9453 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008583/0.665, allocations: 7.318 MB / 0.9524 GB, free: 14.71 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006897/0.6657, allocations: 1.091 MB / 0.9535 GB, free: 13.59 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008337/0.6666, allocations: 223.7 kB / 0.9537 GB, free: 13.37 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.667, allocations: 343.3 kB / 0.954 GB, free: 13.04 MB / 0.67 GB Notification: Performance of SimCode: time 4.71e-07/0.667, allocations: 0 / 0.954 GB, free: 13.04 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05341/0.7205, allocations: 27.26 MB / 0.9807 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/11.24, allocations: 448 / 0.9807 GB, free: 2.293 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)