Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.004794/0.004794, allocations: 99.45 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.001188/0.001188, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.208/1.208, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002023/0.002023, allocations: 280.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8723/0.8723, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 103.8 kB / 0.681 GB, free: 7.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3685, allocations: 86.97 MB / 0.7659 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1681/0.5366, allocations: 190.5 MB / 0.9519 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3493/0.886, allocations: 5.715 MB / 0.9575 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.8871, allocations: 41.31 kB / 0.9576 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.8884, allocations: 0.5912 MB / 0.9581 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003443/0.8919, allocations: 1.676 MB / 0.9598 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.8947, allocations: 1.216 MB / 0.961 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002889/0.8976, allocations: 2.561 MB / 0.9635 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.8988, allocations: 1.034 MB / 0.9645 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/0.9004, allocations: 1.087 MB / 0.9655 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.9018, allocations: 0.8551 MB / 0.9664 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.902, allocations: 109.5 kB / 0.9665 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.9046, allocations: 1.558 MB / 0.968 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004083/0.905, allocations: 0.4952 MB / 0.9685 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006298/0.9057, allocations: 0.6418 MB / 0.9691 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.9081, allocations: 2.192 MB / 0.9712 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.9081, allocations: 0 / 0.9712 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9081, allocations: 0 / 0.9712 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.9081, allocations: 0.5938 kB / 0.9712 GB, free: 1.594 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002011/0.9101, allocations: 1.555 MB / 0.9728 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.9102, allocations: 10.84 kB / 0.9728 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.9103, allocations: 140.3 kB / 0.9729 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.913, allocations: 479.7 kB / 0.9734 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.9142, allocations: 0.8607 MB / 0.9742 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.9143, allocations: 65.72 kB / 0.9743 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.9144, allocations: 84.06 kB / 0.9743 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.9162, allocations: 1.178 MB / 0.9755 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.9162, allocations: 6.141 kB / 0.9755 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-05/0.9163, allocations: 37.34 kB / 0.9755 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.9163, allocations: 37.38 kB / 0.9756 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.9183, allocations: 1.067 MB / 0.9766 GB, free: 16.21 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.005436/0.9238, allocations: 4.318 MB / 0.9808 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.9254, allocations: 0.7452 MB / 0.9816 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000784/0.9262, allocations: 404.6 kB / 0.9819 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.9264, allocations: 104 kB / 0.982 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.9264, allocations: 43.25 kB / 0.9821 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/0.9264, allocations: 0 / 0.9821 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.004858/0.9313, allocations: 2.196 MB / 0.9842 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.9313, allocations: 56.28 kB / 0.9843 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007913/0.9321, allocations: 0.8681 MB / 0.9851 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/0.9322, allocations: 37.77 kB / 0.9852 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.9325, allocations: 0.4936 MB / 0.9857 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.9326, allocations: 165.9 kB / 0.9858 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.9328, allocations: 126.2 kB / 0.9859 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.9329, allocations: 332.4 kB / 0.9862 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008089/0.9337, allocations: 368.3 kB / 0.9866 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000894/0.9346, allocations: 0.4976 MB / 0.9871 GB, free: 12.75 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.005298/0.9399, allocations: 2.265 MB / 0.9893 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9399, allocations: 0 / 0.9893 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00197/0.9419, allocations: 0.9899 MB / 0.9903 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.9419, allocations: 11.28 kB / 0.9903 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.942, allocations: 5.562 kB / 0.9903 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.942, allocations: 9.969 kB / 0.9903 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008222/0.9428, allocations: 186.3 kB / 0.9905 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.9428, allocations: 10.64 kB / 0.9905 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008635/0.9437, allocations: 66.47 kB / 0.9905 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.9438, allocations: 31.16 kB / 0.9906 GB, free: 12.39 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0003931/0.9442, allocations: 310.3 kB / 0.9909 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.9443, allocations: 101 kB / 0.991 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.9445, allocations: 110.3 kB / 0.9911 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.9445, allocations: 6.797 kB / 0.9911 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.9445, allocations: 4 kB / 0.9911 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001697/0.9462, allocations: 1.022 MB / 0.9921 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/0.95, allocations: 2.136 MB / 0.9942 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.95, allocations: 6.484 kB / 0.9942 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007625/0.9508, allocations: 165.9 kB / 0.9943 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.9508, allocations: 5.562 kB / 0.9943 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.9509, allocations: 17.72 kB / 0.9943 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.9509, allocations: 12 kB / 0.9944 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.9509, allocations: 5.25 kB / 0.9944 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.9535, allocations: 1.416 MB / 0.9957 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.9539, allocations: 259.5 kB / 0.996 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.954, allocations: 17.89 kB / 0.996 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008376/0.9548, allocations: 70.52 kB / 0.9961 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.9549, allocations: 34.03 kB / 0.9961 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/0.955, allocations: 30.97 kB / 0.9961 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006205/0.9556, allocations: 0.6036 MB / 0.9967 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9556, allocations: 0 / 0.9967 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007595/0.9564, allocations: 275.2 kB / 0.997 GB, free: 10.75 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * 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.0033/0.9597, allocations: 2.084 MB / 0.999 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.9616, allocations: 0.8061 MB / 0.9998 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.9616, allocations: 3.609 kB / 0.9998 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000831/0.9624, allocations: 391.9 kB / 1 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.9647, allocations: 0.5723 MB / 1.001 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.9779, allocations: 8.214 MB / 1.009 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000716/0.9787, allocations: 1.11 MB / 1.01 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009811/0.9797, allocations: 264.3 kB / 1.01 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/0.9803, allocations: 351.7 kB / 1.01 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.9803, allocations: 4 kB / 1.01 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05155/1.032, allocations: 28.73 MB / 1.039 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.388/9.42, allocations: 14.53 kB / 1.039 GB, free: 3.383 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_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_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)