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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00416/0.00416, allocations: 96.88 kB / 15.73 MB, free: 6.055 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.001173/0.001173, allocations: 195.9 kB / 16.68 MB, free: 5.977 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002403/0.002403, allocations: 282.6 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.999/0.999, allocations: 178.6 MB / 0.5074 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00259/0.00259, allocations: 88.08 kB / 0.6943 GB, free: 3.574 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4059, allocations: 89.15 MB / 0.7814 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.24/0.6459, allocations: 221.1 MB / 0.9973 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009067/0.655, allocations: 5.724 MB / 1.003 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005362/0.6556, allocations: 43.75 kB / 1.003 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.657, allocations: 0.5747 MB / 1.003 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.6604, allocations: 1.625 MB / 1.005 GB, free: 9.395 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.6632, allocations: 1.224 MB / 1.006 GB, free: 8.18 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.6662, allocations: 2.582 MB / 1.009 GB, free: 5.59 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.6673, allocations: 0.8912 MB / 1.01 GB, free: 4.688 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.6688, allocations: 1.062 MB / 1.011 GB, free: 3.621 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.6706, allocations: 0.8407 MB / 1.012 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.6708, allocations: 96 kB / 1.012 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.6734, allocations: 1.547 MB / 1.013 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004303/0.6738, allocations: 406.9 kB / 1.013 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0006853/0.6745, allocations: 0.5833 MB / 1.014 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.677, allocations: 2.024 MB / 1.016 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.677, allocations: 0 / 1.016 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.677, allocations: 4 kB / 1.016 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.677, allocations: 0 / 1.016 GB, free: 14.12 MB / 0.7794 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.002276/0.6793, allocations: 1.459 MB / 1.017 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.6793, allocations: 12.03 kB / 1.017 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.6795, allocations: 122.6 kB / 1.018 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/0.6821, allocations: 422.8 kB / 1.018 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.6835, allocations: 0.8085 MB / 1.019 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/0.6835, allocations: 62 kB / 1.019 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.6837, allocations: 72 kB / 1.019 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.6856, allocations: 0.9866 MB / 1.02 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.6856, allocations: 0 / 1.02 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/0.6857, allocations: 36 kB / 1.02 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/0.6858, allocations: 33.92 kB / 1.02 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.6878, allocations: 0.8743 MB / 1.021 GB, free: 9.129 MB / 0.7794 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.005753/0.6936, allocations: 3.479 MB / 1.024 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.6952, allocations: 0.6047 MB / 1.025 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008125/0.696, allocations: 344.2 kB / 1.025 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.6962, allocations: 97.09 kB / 1.025 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.6963, allocations: 50.44 kB / 1.025 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.6963, allocations: 0 / 1.025 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of matching and sorting (n=41): time 0.004992/0.7013, allocations: 1.898 MB / 1.027 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.7013, allocations: 55.41 kB / 1.027 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.7024, allocations: 0.7823 MB / 1.028 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.7024, allocations: 33.7 kB / 1.028 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.7028, allocations: 460.4 kB / 1.028 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.703, allocations: 154.7 kB / 1.029 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.7032, allocations: 106.2 kB / 1.029 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.7034, allocations: 329.9 kB / 1.029 GB, free: 456 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008637/0.7043, allocations: 320.8 kB / 1.029 GB, free: 136 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009288/0.7052, allocations: 443.4 kB / 1.03 GB, free: 15.65 MB / 0.795 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.005672/0.7109, allocations: 1.932 MB / 1.032 GB, free: 13.66 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.7109, allocations: 4 kB / 1.032 GB, free: 13.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002007/0.7129, allocations: 0.843 MB / 1.032 GB, free: 12.81 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.7129, allocations: 8 kB / 1.032 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.713, allocations: 4 kB / 1.032 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.713, allocations: 4 kB / 1.032 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/0.7138, allocations: 175.8 kB / 1.033 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.7138, allocations: 7.938 kB / 1.033 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007555/0.7146, allocations: 55.94 kB / 1.033 GB, free: 12.56 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/0.7147, allocations: 24 kB / 1.033 GB, free: 12.54 MB / 0.795 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.0003607/0.715, allocations: 281.9 kB / 1.033 GB, free: 12.26 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.7152, allocations: 91.44 kB / 1.033 GB, free: 12.17 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.7154, allocations: 96.08 kB / 1.033 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.7154, allocations: 4 kB / 1.033 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7154, allocations: 0 / 1.033 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001718/0.7171, allocations: 0.6911 MB / 1.034 GB, free: 11.35 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003893/0.721, allocations: 1.914 MB / 1.036 GB, free: 9.336 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.7211, allocations: 0 / 1.036 GB, free: 9.336 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007485/0.7218, allocations: 144 kB / 1.036 GB, free: 9.195 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.7218, allocations: 8 kB / 1.036 GB, free: 9.188 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.7219, allocations: 12 kB / 1.036 GB, free: 9.176 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.7219, allocations: 7.938 kB / 1.036 GB, free: 9.168 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.7219, allocations: 7.984 kB / 1.036 GB, free: 9.16 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.7245, allocations: 1.219 MB / 1.037 GB, free: 7.883 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/0.7249, allocations: 240.4 kB / 1.037 GB, free: 7.629 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.725, allocations: 16 kB / 1.037 GB, free: 7.613 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007565/0.7258, allocations: 56 kB / 1.037 GB, free: 7.559 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.7259, allocations: 35.84 kB / 1.037 GB, free: 7.523 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/0.7259, allocations: 39.91 kB / 1.037 GB, free: 7.484 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006748/0.7266, allocations: 0.5341 MB / 1.038 GB, free: 6.949 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7266, allocations: 0 / 1.038 GB, free: 6.949 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006702/0.7273, allocations: 255.9 kB / 1.038 GB, free: 6.699 MB / 0.795 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.003318/0.7306, allocations: 1.87 MB / 1.04 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001781/0.7324, allocations: 0.695 MB / 1.041 GB, free: 4.082 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7324, allocations: 0 / 1.041 GB, free: 4.082 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008316/0.7333, allocations: 337 kB / 1.041 GB, free: 3.754 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.7355, allocations: 0.5237 MB / 1.042 GB, free: 3.242 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.7483, allocations: 7.208 MB / 1.049 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/0.749, allocations: 1.037 MB / 1.05 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006984/0.7497, allocations: 223 kB / 1.05 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005038/0.7502, allocations: 319.3 kB / 1.05 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.7502, allocations: 0 / 1.05 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05567/0.8059, allocations: 25.6 MB / 1.075 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.838/9.644, allocations: 15.31 kB / 1.075 GB, free: 1.012 MB / 0.8262 GB (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)