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.00745/0.00745, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001488/0.001488, allocations: 197.5 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002454/0.002454, allocations: 298.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.944/0.944, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002574/0.002574, allocations: 98.69 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1539, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.51/0.6639, allocations: 221.1 MB / 0.9818 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008711/0.6727, allocations: 5.729 MB / 0.9874 GB, free: 200 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007653/0.6735, allocations: 43.75 kB / 0.9875 GB, free: 156 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.675, allocations: 0.5748 MB / 0.988 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003278/0.6783, allocations: 1.631 MB / 0.9896 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.681, allocations: 1.209 MB / 0.9908 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002797/0.6838, allocations: 2.577 MB / 0.9933 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.6849, allocations: 0.9011 MB / 0.9942 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.6864, allocations: 1.062 MB / 0.9952 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/0.6881, allocations: 0.8336 MB / 0.9961 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.6882, allocations: 96 kB / 0.9962 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002501/0.6907, allocations: 1.543 MB / 0.9977 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004121/0.6911, allocations: 406.9 kB / 0.998 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005921/0.6917, allocations: 0.5833 MB / 0.9986 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00242/0.6942, allocations: 2.028 MB / 1.001 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.6942, allocations: 0 / 1.001 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6942, allocations: 0 / 1.001 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.6942, allocations: 0 / 1.001 GB, free: 2.699 MB / 0.7481 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.002152/0.6964, allocations: 1.463 MB / 1.002 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6964, allocations: 8.031 kB / 1.002 GB, free: 1.172 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.6966, allocations: 122.6 kB / 1.002 GB, free: 1.043 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.699, allocations: 430.8 kB / 1.003 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.7004, allocations: 0.8086 MB / 1.003 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/0.7005, allocations: 58 kB / 1.003 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.7006, allocations: 76 kB / 1.003 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.7024, allocations: 0.9838 MB / 1.004 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.7025, allocations: 4 kB / 1.004 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-05/0.7025, allocations: 35.98 kB / 1.004 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.06e-05/0.7026, allocations: 33.92 kB / 1.005 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.7045, allocations: 0.8783 MB / 1.005 GB, free: 13.69 MB / 0.7637 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.005468/0.71, allocations: 3.479 MB / 1.009 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.7116, allocations: 0.5998 MB / 1.009 GB, free: 9.422 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007756/0.7123, allocations: 348.2 kB / 1.01 GB, free: 9.082 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.7125, allocations: 97.09 kB / 1.01 GB, free: 8.969 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.7126, allocations: 50.5 kB / 1.01 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=39): time 1.613e-06/0.7126, allocations: 0 / 1.01 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of matching and sorting (n=41): time 0.004696/0.7173, allocations: 1.903 MB / 1.012 GB, free: 6.953 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.7173, allocations: 59.34 kB / 1.012 GB, free: 6.883 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009268/0.7183, allocations: 0.7823 MB / 1.013 GB, free: 6.094 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.7183, allocations: 33.7 kB / 1.013 GB, free: 6.055 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.7187, allocations: 460.4 kB / 1.013 GB, free: 5.602 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.7189, allocations: 158.7 kB / 1.013 GB, free: 5.445 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.7191, allocations: 106.2 kB / 1.013 GB, free: 5.336 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7192, allocations: 329.9 kB / 1.014 GB, free: 5.008 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007819/0.72, allocations: 312.9 kB / 1.014 GB, free: 4.703 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008871/0.7209, allocations: 443.5 kB / 1.014 GB, free: 4.223 MB / 0.7637 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.005251/0.7262, allocations: 1.931 MB / 1.016 GB, free: 2.227 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.7262, allocations: 0 / 1.016 GB, free: 2.227 MB / 0.7637 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001934/0.7281, allocations: 0.8546 MB / 1.017 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7281, allocations: 10.97 kB / 1.017 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.7282, allocations: 0 / 1.017 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.7282, allocations: 8 kB / 1.017 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/0.729, allocations: 167.8 kB / 1.017 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.729, allocations: 8 kB / 1.017 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007723/0.7298, allocations: 63.38 kB / 1.017 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.7298, allocations: 20 kB / 1.017 GB, free: 1.102 MB / 0.7637 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.0004014/0.7302, allocations: 281.5 kB / 1.018 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.7304, allocations: 95.44 kB / 1.018 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.7306, allocations: 96.08 kB / 1.018 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.7306, allocations: 4 kB / 1.018 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.7306, allocations: 0 / 1.018 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001569/0.7322, allocations: 0.6881 MB / 1.018 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/0.736, allocations: 1.902 MB / 1.02 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.736, allocations: 4 kB / 1.02 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007195/0.7367, allocations: 148.2 kB / 1.02 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.7368, allocations: 4 kB / 1.02 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.7368, allocations: 12 kB / 1.02 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.7368, allocations: 7.984 kB / 1.02 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.7368, allocations: 11.92 kB / 1.02 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.7393, allocations: 1.221 MB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.7397, allocations: 248.5 kB / 1.022 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.7398, allocations: 16 kB / 1.022 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007375/0.7405, allocations: 55.88 kB / 1.022 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.7406, allocations: 35.91 kB / 1.022 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/0.7407, allocations: 31.97 kB / 1.022 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006618/0.7414, allocations: 0.5341 MB / 1.022 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7414, allocations: 3.938 kB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007013/0.7421, allocations: 255.9 kB / 1.023 GB, free: 11.26 MB / 0.7794 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.003116/0.7452, allocations: 1.862 MB / 1.025 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.7469, allocations: 0.7016 MB / 1.025 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7469, allocations: 0 / 1.025 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.7477, allocations: 333 kB / 1.026 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.7499, allocations: 0.5286 MB / 1.026 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.7619, allocations: 7.196 MB / 1.033 GB, free: 320 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006892/0.7626, allocations: 1.04 MB / 1.034 GB, free: 15.25 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006835/0.7633, allocations: 223 kB / 1.034 GB, free: 15.02 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.7638, allocations: 323.3 kB / 1.035 GB, free: 14.71 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.7638, allocations: 4 kB / 1.035 GB, free: 14.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05447/0.8182, allocations: 25.59 MB / 1.06 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.671/9.49, allocations: 12.77 kB / 1.06 GB, free: 5.582 MB / 0.8106 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)