Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.332/1.332, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002472/0.002472, allocations: 298.6 kB / 312.7 MB, free: 2.773 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.137/1.137, allocations: 180.6 MB / 0.5369 GB, free: 12.99 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 104.2 kB / 0.7396 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.166, allocations: 95.38 MB / 0.8328 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.6148/0.7808, allocations: 225.5 MB / 1.053 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009243/0.79, allocations: 5.749 MB / 1.059 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.7919, allocations: 54.88 kB / 1.059 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.7934, allocations: 0.6152 MB / 1.059 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.7976, allocations: 1.712 MB / 1.061 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003111/0.8007, allocations: 1.264 MB / 1.062 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004127/0.8048, allocations: 2.634 MB / 1.065 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.8063, allocations: 0.7069 MB / 1.065 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.8089, allocations: 1.121 MB / 1.066 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002499/0.8114, allocations: 0.9044 MB / 1.067 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003388/0.8118, allocations: 97.59 kB / 1.067 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/0.8152, allocations: 1.645 MB / 1.069 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000607/0.8158, allocations: 424.2 kB / 1.069 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.817, allocations: 0.582 MB / 1.07 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004001/0.821, allocations: 2.029 MB / 1.072 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.821, allocations: 0 / 1.072 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.723e-06/0.821, allocations: 0.9062 kB / 1.072 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.42e-05/0.821, allocations: 3.062 kB / 1.072 GB, free: 15.62 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003297/0.8243, allocations: 1.384 MB / 1.073 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.8244, allocations: 13.09 kB / 1.073 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002267/0.8246, allocations: 127.2 kB / 1.074 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00255/0.8272, allocations: 419 kB / 1.074 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.8287, allocations: 0.731 MB / 1.075 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/0.8288, allocations: 56.62 kB / 1.075 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.8289, allocations: 78.84 kB / 1.075 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.8306, allocations: 0.9886 MB / 1.076 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.8307, allocations: 3.953 kB / 1.076 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-05/0.8307, allocations: 34.2 kB / 1.076 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.8308, allocations: 29.44 kB / 1.076 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.8325, allocations: 0.8861 MB / 1.077 GB, free: 13.1 MB / 0.7325 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.005591/0.8381, allocations: 3.437 MB / 1.08 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.8395, allocations: 0.572 MB / 1.081 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006924/0.8402, allocations: 331.8 kB / 1.081 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.8404, allocations: 21.61 kB / 1.081 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.8404, allocations: 43.22 kB / 1.081 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 1.883e-06/0.8404, allocations: 0 / 1.081 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=41): time 0.004557/0.845, allocations: 1.837 MB / 1.083 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.845, allocations: 61.75 kB / 1.083 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008896/0.8459, allocations: 0.7772 MB / 1.084 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.8459, allocations: 37.11 kB / 1.084 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.8463, allocations: 453.7 kB / 1.084 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.8464, allocations: 154.7 kB / 1.084 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.8466, allocations: 114.7 kB / 1.084 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8468, allocations: 324 kB / 1.085 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006928/0.8474, allocations: 315.1 kB / 1.085 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008015/0.8482, allocations: 450 kB / 1.085 GB, free: 7.051 MB / 0.7325 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.004775/0.853, allocations: 1.855 MB / 1.087 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.853, allocations: 5.656 kB / 1.087 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001812/0.8548, allocations: 0.8366 MB / 1.088 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.8549, allocations: 15.05 kB / 1.088 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.8549, allocations: 9.016 kB / 1.088 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.8549, allocations: 4.875 kB / 1.088 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007438/0.8556, allocations: 164.7 kB / 1.088 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.8556, allocations: 9.562 kB / 1.088 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008622/0.8565, allocations: 53.72 kB / 1.088 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.8566, allocations: 19.5 kB / 1.088 GB, free: 5.625 MB / 0.7325 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004619/0.857, allocations: 282.5 kB / 1.088 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.8572, allocations: 96.52 kB / 1.089 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.8574, allocations: 87.34 kB / 1.089 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.8574, allocations: 2.75 kB / 1.089 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.8574, allocations: 3.25 kB / 1.089 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/0.8588, allocations: 0.6957 MB / 1.089 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/0.8626, allocations: 1.886 MB / 1.091 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.8626, allocations: 3.469 kB / 1.091 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007063/0.8633, allocations: 139.1 kB / 1.091 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.8633, allocations: 9.25 kB / 1.091 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/0.8634, allocations: 18.7 kB / 1.091 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.8634, allocations: 16.06 kB / 1.091 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.8634, allocations: 8.953 kB / 1.091 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.8659, allocations: 1.229 MB / 1.093 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005021/0.8664, allocations: 163.3 kB / 1.093 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.8665, allocations: 8 kB / 1.093 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008149/0.8674, allocations: 60 kB / 1.093 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.706e-05/0.8675, allocations: 39.06 kB / 1.093 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.189e-05/0.8675, allocations: 27.98 kB / 1.093 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007965/0.8683, allocations: 0.5459 MB / 1.093 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8683, allocations: 0 / 1.093 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008731/0.8692, allocations: 243.9 kB / 1.094 GB, free: 1.648 MB / 0.7325 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003017/0.8722, allocations: 1.858 MB / 1.095 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.8739, allocations: 0.6695 MB / 1.096 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8739, allocations: 0 / 1.096 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007521/0.8747, allocations: 321.1 kB / 1.096 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/0.8773, allocations: 0.5367 MB / 1.097 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.8908, allocations: 7.2 MB / 1.104 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008294/0.8916, allocations: 1.048 MB / 1.105 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009254/0.8925, allocations: 223.1 kB / 1.105 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/0.8931, allocations: 319.3 kB / 1.105 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of SimCode: time 8.81e-07/0.8931, allocations: 0 / 1.105 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06615/0.9592, allocations: 26.21 MB / 1.131 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.38, allocations: 15.92 kB / 1.131 GB, free: 11.46 MB / 0.7794 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_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_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.28018046299985] Failed to read output from testmodel.py, exit status != 0: 12.509114750999288 12.523839354 11.699663927 Calling exit ...