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.001183/0.001183, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 193.6 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 298.9 kB / 290.7 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9043/0.9043, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 92.23 kB / 0.5953 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1325, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4182/0.5507, allocations: 190.4 MB / 0.8663 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007996/0.5587, allocations: 5.707 MB / 0.8718 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009119/0.5597, allocations: 43.38 kB / 0.8719 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.5609, allocations: 0.5635 MB / 0.8724 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003133/0.5641, allocations: 1.614 MB / 0.874 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.5666, allocations: 1.209 MB / 0.8752 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002279/0.5689, allocations: 2.557 MB / 0.8777 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.57, allocations: 1.039 MB / 0.8787 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.5713, allocations: 1.033 MB / 0.8797 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.5726, allocations: 0.8562 MB / 0.8805 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.5728, allocations: 110.5 kB / 0.8807 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.5752, allocations: 1.559 MB / 0.8822 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004176/0.5756, allocations: 0.4957 MB / 0.8827 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000572/0.5762, allocations: 0.6364 MB / 0.8833 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.5783, allocations: 2.162 MB / 0.8854 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5784, allocations: 3.938 kB / 0.8854 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5784, allocations: 0 / 0.8854 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.5784, allocations: 2.656 kB / 0.8854 GB, free: 2.699 MB / 0.5919 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.002115/0.5805, allocations: 1.52 MB / 0.8869 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.5805, allocations: 10.28 kB / 0.8869 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.5807, allocations: 138.5 kB / 0.887 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/0.5835, allocations: 478.6 kB / 0.8875 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.5847, allocations: 0.8146 MB / 0.8883 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/0.5851, allocations: 121.7 kB / 0.8884 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.5852, allocations: 84 kB / 0.8885 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.5871, allocations: 1.191 MB / 0.8896 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.5872, allocations: 3.984 kB / 0.8896 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.503e-05/0.5873, allocations: 42.38 kB / 0.8897 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/0.5873, allocations: 32 kB / 0.8897 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.5896, allocations: 1.078 MB / 0.8908 GB, free: 15.28 MB / 0.6075 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.006418/0.596, allocations: 4.371 MB / 0.895 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.598, allocations: 0.7646 MB / 0.8958 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009328/0.5989, allocations: 406.8 kB / 0.8962 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.5991, allocations: 101.1 kB / 0.8963 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.5992, allocations: 42.56 kB / 0.8963 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.823e-06/0.5992, allocations: 3.938 kB / 0.8963 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.005624/0.6048, allocations: 2.199 MB / 0.8985 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.6048, allocations: 63.34 kB / 0.8985 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000912/0.6058, allocations: 0.8686 MB / 0.8994 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.6058, allocations: 33.7 kB / 0.8994 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.6061, allocations: 0.4914 MB / 0.8999 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.6063, allocations: 161.7 kB / 0.9 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.6065, allocations: 118.2 kB / 0.9001 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.6066, allocations: 334 kB / 0.9005 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009455/0.6075, allocations: 373 kB / 0.9008 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.6086, allocations: 0.5071 MB / 0.9013 GB, free: 4.617 MB / 0.6075 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.006174/0.6148, allocations: 2.294 MB / 0.9035 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.6148, allocations: 0 / 0.9035 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002314/0.6171, allocations: 1.001 MB / 0.9045 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.6171, allocations: 8 kB / 0.9045 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.6171, allocations: 4 kB / 0.9045 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.6171, allocations: 7.938 kB / 0.9045 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009444/0.6181, allocations: 191.8 kB / 0.9047 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.6181, allocations: 8 kB / 0.9047 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009691/0.6191, allocations: 71.88 kB / 0.9048 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.6192, allocations: 27.98 kB / 0.9048 GB, free: 0.9336 MB / 0.6075 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.000463/0.6197, allocations: 313.5 kB / 0.9051 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.6198, allocations: 94.88 kB / 0.9052 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.62, allocations: 100.8 kB / 0.9053 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.6201, allocations: 11.94 kB / 0.9053 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6201, allocations: 0 / 0.9053 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002072/0.6221, allocations: 1.034 MB / 0.9063 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004536/0.6267, allocations: 2.145 MB / 0.9084 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6267, allocations: 4.344 kB / 0.9084 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008722/0.6276, allocations: 167.8 kB / 0.9086 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.6276, allocations: 8 kB / 0.9086 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.6277, allocations: 15.98 kB / 0.9086 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.6277, allocations: 11.94 kB / 0.9086 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.6277, allocations: 7.938 kB / 0.9086 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003147/0.6308, allocations: 1.438 MB / 0.91 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.6312, allocations: 255.9 kB / 0.9103 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.6314, allocations: 12 kB / 0.9103 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009211/0.6323, allocations: 75.44 kB / 0.9104 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/0.6324, allocations: 43.83 kB / 0.9104 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/0.6325, allocations: 27.98 kB / 0.9104 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000754/0.6332, allocations: 0.6005 MB / 0.911 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6332, allocations: 3.938 kB / 0.911 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007749/0.634, allocations: 268 kB / 0.9113 GB, free: 10.05 MB / 0.6231 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.003746/0.6378, allocations: 2.081 MB / 0.9133 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002284/0.6401, allocations: 0.8852 MB / 0.9142 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.6401, allocations: 4 kB / 0.9142 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009817/0.6411, allocations: 393 kB / 0.9146 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.6435, allocations: 0.5856 MB / 0.9151 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.658, allocations: 8.568 MB / 0.9235 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.6586, allocations: 1.11 MB / 0.9246 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000997/0.6596, allocations: 259.7 kB / 0.9248 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/0.6602, allocations: 355.3 kB / 0.9252 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of SimCode: time 2.154e-06/0.6602, allocations: 0 / 0.9252 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05197/0.7121, allocations: 28.55 MB / 0.953 GB, free: 15.36 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/8.13, allocations: 12.31 kB / 0.9531 GB, free: 15.35 MB / 0.67 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)