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.001509/0.001509, allocations: 108 kB / 15.61 MB, free: 152 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.001542/0.001542, allocations: 196.8 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002409/0.002409, allocations: 282.5 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002652, allocations: 92.52 kB / 0.6065 GB, free: 24.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1468, allocations: 89.15 MB / 0.6936 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4496/0.5965, allocations: 190.5 MB / 0.8796 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008951/0.6054, allocations: 5.699 MB / 0.8852 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.6065, allocations: 41.66 kB / 0.8852 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.6079, allocations: 0.5654 MB / 0.8858 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003617/0.6115, allocations: 1.616 MB / 0.8873 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.6144, allocations: 1.21 MB / 0.8885 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003105/0.6176, allocations: 2.566 MB / 0.891 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.6189, allocations: 1.032 MB / 0.892 GB, free: 344 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.6206, allocations: 1.039 MB / 0.893 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.6222, allocations: 0.8568 MB / 0.8939 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.6224, allocations: 108 kB / 0.894 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.6254, allocations: 1.555 MB / 0.8955 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005577/0.626, allocations: 0.4948 MB / 0.896 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007754/0.6268, allocations: 0.6455 MB / 0.8966 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.6297, allocations: 2.158 MB / 0.8987 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.6297, allocations: 4 kB / 0.8987 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6297, allocations: 0 / 0.8987 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.6298, allocations: 0 / 0.8987 GB, free: 9.469 MB / 0.6231 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.002529/0.6323, allocations: 1.522 MB / 0.9002 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.6324, allocations: 12.03 kB / 0.9002 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/0.6325, allocations: 135.3 kB / 0.9003 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/0.6355, allocations: 474 kB / 0.9008 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.6369, allocations: 0.824 MB / 0.9016 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/0.6373, allocations: 117.9 kB / 0.9017 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.6374, allocations: 84 kB / 0.9018 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.6397, allocations: 1.186 MB / 0.903 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.6397, allocations: 3.906 kB / 0.903 GB, free: 5 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/0.6398, allocations: 40 kB / 0.903 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.125e-05/0.6399, allocations: 41.97 kB / 0.903 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.6424, allocations: 1.073 MB / 0.9041 GB, free: 3.848 MB / 0.6231 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.007255/0.6497, allocations: 4.362 MB / 0.9083 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.6518, allocations: 0.7599 MB / 0.9091 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.6529, allocations: 404.6 kB / 0.9095 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.6531, allocations: 105.1 kB / 0.9096 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.6531, allocations: 42.56 kB / 0.9096 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 1.883e-06/0.6531, allocations: 0 / 0.9096 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.006135/0.6593, allocations: 2.212 MB / 0.9118 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.6593, allocations: 59.41 kB / 0.9118 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.6604, allocations: 0.8608 MB / 0.9127 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.6605, allocations: 37.7 kB / 0.9127 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.6609, allocations: 495.2 kB / 0.9132 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.661, allocations: 161.6 kB / 0.9133 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.6613, allocations: 122.2 kB / 0.9135 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6614, allocations: 330 kB / 0.9138 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.6625, allocations: 373 kB / 0.9141 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.6636, allocations: 0.5152 MB / 0.9146 GB, free: 8.598 MB / 0.6387 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.00659/0.6702, allocations: 2.295 MB / 0.9169 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.6702, allocations: 4 kB / 0.9169 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00246/0.6727, allocations: 0.986 MB / 0.9178 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.6727, allocations: 11.98 kB / 0.9178 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.6727, allocations: 4 kB / 0.9178 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.6728, allocations: 11.94 kB / 0.9179 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000984/0.6738, allocations: 191.8 kB / 0.918 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.6738, allocations: 7.984 kB / 0.9181 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009699/0.6748, allocations: 75.94 kB / 0.9181 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.026e-05/0.6748, allocations: 23.98 kB / 0.9181 GB, free: 4.922 MB / 0.6387 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.0004379/0.6753, allocations: 313.5 kB / 0.9184 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.6754, allocations: 94.88 kB / 0.9185 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.6757, allocations: 100.8 kB / 0.9186 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.6757, allocations: 7.938 kB / 0.9186 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6757, allocations: 4 kB / 0.9186 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002205/0.6779, allocations: 1.038 MB / 0.9197 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/0.6827, allocations: 2.161 MB / 0.9218 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.6828, allocations: 7.984 kB / 0.9218 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009181/0.6837, allocations: 170 kB / 0.9219 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.6837, allocations: 4 kB / 0.9219 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.6838, allocations: 15.98 kB / 0.922 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.6838, allocations: 4 kB / 0.922 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.6838, allocations: 11.88 kB / 0.922 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003345/0.6871, allocations: 1.429 MB / 0.9234 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004039/0.6876, allocations: 248 kB / 0.9236 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.6877, allocations: 16 kB / 0.9236 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009321/0.6886, allocations: 70.5 kB / 0.9237 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.6887, allocations: 39.89 kB / 0.9237 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/0.6888, allocations: 27.98 kB / 0.9238 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007616/0.6896, allocations: 0.6082 MB / 0.9243 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6896, allocations: 0 / 0.9243 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008079/0.6904, allocations: 271.9 kB / 0.9246 GB, free: 14.05 MB / 0.6544 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.003952/0.6944, allocations: 2.09 MB / 0.9266 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002337/0.6967, allocations: 0.8891 MB / 0.9275 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6967, allocations: 0 / 0.9275 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.6978, allocations: 401 kB / 0.9279 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/0.7003, allocations: 0.5789 MB / 0.9285 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.7154, allocations: 8.556 MB / 0.9368 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008166/0.7162, allocations: 1.114 MB / 0.9379 GB, free: 16 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009712/0.7172, allocations: 263.8 kB / 0.9382 GB, free: 15.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005531/0.7178, allocations: 355.3 kB / 0.9385 GB, free: 15.39 MB / 0.67 GB Notification: Performance of SimCode: time 7.72e-07/0.7178, allocations: 0 / 0.9385 GB, free: 15.39 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06113/0.7789, allocations: 28.55 MB / 0.9664 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.846, allocations: 4.812 kB / 0.9664 GB, free: 3.34 MB / 0.6856 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)