Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_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.001029/0.001029, allocations: 102.9 kB / 16.27 MB, free: 5.977 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.001035/0.001035, allocations: 186.4 kB / 17.19 MB, free: 5.605 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.257/1.257, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7471/0.7471, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 59.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3085, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4636/0.7721, allocations: 221.1 MB / 0.7832 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007858/0.78, allocations: 5.717 MB / 0.7887 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009598/0.781, allocations: 43.09 kB / 0.7888 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.7823, allocations: 0.5834 MB / 0.7894 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.7857, allocations: 1.846 MB / 0.7912 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.788, allocations: 1.179 MB / 0.7923 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002318/0.7903, allocations: 2.946 MB / 0.7952 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009774/0.7913, allocations: 1.023 MB / 0.7962 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.7925, allocations: 1.061 MB / 0.7972 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.794, allocations: 0.9386 MB / 0.7981 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.7942, allocations: 116.7 kB / 0.7982 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.7965, allocations: 1.424 MB / 0.7996 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000361/0.7969, allocations: 461.4 kB / 0.8001 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.7975, allocations: 0.6578 MB / 0.8007 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.7997, allocations: 2.107 MB / 0.8028 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.7997, allocations: 3.625 kB / 0.8028 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7997, allocations: 0.9062 kB / 0.8028 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.7997, allocations: 0 / 0.8028 GB, free: 15.87 MB / 0.5762 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.001939/0.8016, allocations: 1.517 MB / 0.8043 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.8017, allocations: 10.16 kB / 0.8043 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.8018, allocations: 142.9 kB / 0.8044 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.8037, allocations: 311.7 kB / 0.8047 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.8048, allocations: 0.812 MB / 0.8055 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.114e-05/0.8048, allocations: 67.69 kB / 0.8056 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.805, allocations: 84.78 kB / 0.8056 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.8064, allocations: 0.9221 MB / 0.8065 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.8064, allocations: 3.188 kB / 0.8065 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/0.8065, allocations: 38.72 kB / 0.8066 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/0.8065, allocations: 35.56 kB / 0.8066 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.8078, allocations: 0.8322 MB / 0.8074 GB, free: 14.59 MB / 0.5762 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.004441/0.8123, allocations: 3.558 MB / 0.8109 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006937/0.813, allocations: 498.8 kB / 0.8114 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.8134, allocations: 295.8 kB / 0.8117 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.8136, allocations: 102.2 kB / 0.8118 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.8136, allocations: 44.48 kB / 0.8118 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.425e-06/0.8136, allocations: 0.8438 kB / 0.8118 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49): time 0.003182/0.8168, allocations: 1.872 MB / 0.8136 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.8168, allocations: 62.25 kB / 0.8137 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007512/0.8176, allocations: 0.8064 MB / 0.8145 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.8176, allocations: 37.3 kB / 0.8145 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.8179, allocations: 478.8 kB / 0.815 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.818, allocations: 177.1 kB / 0.8151 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.8182, allocations: 119.4 kB / 0.8153 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.473e-05/0.8183, allocations: 326.6 kB / 0.8156 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.8187, allocations: 251.4 kB / 0.8158 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/0.8191, allocations: 389.8 kB / 0.8162 GB, free: 11.4 MB / 0.5762 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.003238/0.8224, allocations: 1.54 MB / 0.8177 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8224, allocations: 4.344 kB / 0.8177 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001197/0.8236, allocations: 0.7913 MB / 0.8185 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.8236, allocations: 6.062 kB / 0.8185 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.8236, allocations: 5.781 kB / 0.8185 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001436/0.8238, allocations: 66.7 kB / 0.8185 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.8244, allocations: 154.5 kB / 0.8187 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.8261, allocations: 3.124 MB / 0.8217 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/0.8269, allocations: 29.08 kB / 0.8218 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.827, allocations: 22.16 kB / 0.8218 GB, free: 8.297 MB / 0.5762 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.0003645/0.8273, allocations: 302.1 kB / 0.8221 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.8275, allocations: 91.28 kB / 0.8222 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.8276, allocations: 106.9 kB / 0.8223 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.8276, allocations: 3.188 kB / 0.8223 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8276, allocations: 0 / 0.8223 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000808/0.8284, allocations: 0.8412 MB / 0.8231 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.8307, allocations: 1.794 MB / 0.8248 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.8307, allocations: 2.438 kB / 0.8248 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/0.8313, allocations: 130.8 kB / 0.825 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.546e-05/0.8314, allocations: 39.66 kB / 0.825 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.8315, allocations: 21.67 kB / 0.825 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008557/0.8323, allocations: 1.588 MB / 0.8266 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.8323, allocations: 7.578 kB / 0.8266 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.8337, allocations: 1.084 MB / 0.8276 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/0.8339, allocations: 234.3 kB / 0.8279 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.8341, allocations: 12.12 kB / 0.8279 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006982/0.8348, allocations: 24.78 kB / 0.8279 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.8349, allocations: 49.66 kB / 0.8279 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.8349, allocations: 29.39 kB / 0.828 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005498/0.8355, allocations: 0.5673 MB / 0.8285 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8355, allocations: 0 / 0.8285 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007963/0.8363, allocations: 277.9 kB / 0.8288 GB, free: 3.219 MB / 0.5762 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.001663/0.838, allocations: 1.703 MB / 0.8305 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.8391, allocations: 0.8631 MB / 0.8313 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8392, allocations: 6.75 kB / 0.8313 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004611/0.8396, allocations: 412.2 kB / 0.8317 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.8421, allocations: 0.5988 MB / 0.8323 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008555/0.8507, allocations: 7.318 MB / 0.8394 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/0.8513, allocations: 1.084 MB / 0.8405 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008641/0.8522, allocations: 219.7 kB / 0.8407 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.8527, allocations: 343.3 kB / 0.841 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.8527, allocations: 0 / 0.841 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05101/0.9037, allocations: 27.24 MB / 0.8676 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.69, allocations: 11.55 kB / 0.8676 GB, free: 13.04 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)