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.005696/0.005701, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001532/0.001532, allocations: 196.4 kB / 16.67 MB, free: 6.355 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002436/0.002436, allocations: 286.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.9513/0.9513, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 107.9 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1521, allocations: 86.96 MB / 0.7659 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4823/0.6344, allocations: 190.5 MB / 0.9519 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009034/0.6435, allocations: 5.719 MB / 0.9575 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.6446, allocations: 43.75 kB / 0.9576 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.6461, allocations: 0.5669 MB / 0.9581 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003576/0.6497, allocations: 1.61 MB / 0.9597 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002847/0.6525, allocations: 1.217 MB / 0.9609 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002841/0.6554, allocations: 2.553 MB / 0.9634 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.6566, allocations: 1.034 MB / 0.9644 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.6581, allocations: 1.051 MB / 0.9654 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.6596, allocations: 0.8601 MB / 0.9662 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.6597, allocations: 108 kB / 0.9664 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.6623, allocations: 1.551 MB / 0.9679 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005097/0.6628, allocations: 0.491 MB / 0.9683 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006601/0.6635, allocations: 0.6417 MB / 0.969 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.666, allocations: 2.19 MB / 0.9711 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.666, allocations: 0 / 0.9711 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.666, allocations: 4 kB / 0.9711 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.666, allocations: 0 / 0.9711 GB, free: 0.8594 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.002339/0.6684, allocations: 1.556 MB / 0.9726 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.6684, allocations: 8.031 kB / 0.9726 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.6686, allocations: 139.3 kB / 0.9728 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/0.6714, allocations: 482.7 kB / 0.9732 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.6728, allocations: 0.856 MB / 0.9741 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-05/0.6729, allocations: 70 kB / 0.9741 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.6731, allocations: 84 kB / 0.9742 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.6752, allocations: 1.179 MB / 0.9754 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.6753, allocations: 3.953 kB / 0.9754 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.634e-05/0.6754, allocations: 36 kB / 0.9754 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.59e-05/0.6754, allocations: 37.98 kB / 0.9754 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.6778, allocations: 1.066 MB / 0.9765 GB, free: 11.23 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.006455/0.6842, allocations: 4.324 MB / 0.9807 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.6861, allocations: 0.7467 MB / 0.9814 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000934/0.6871, allocations: 398.2 kB / 0.9818 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.6873, allocations: 101.8 kB / 0.9819 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.6873, allocations: 44.12 kB / 0.982 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.913e-06/0.6873, allocations: 0 / 0.982 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.005645/0.693, allocations: 2.196 MB / 0.9841 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.693, allocations: 59.34 kB / 0.9842 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.6941, allocations: 0.8647 MB / 0.985 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/0.6942, allocations: 37.7 kB / 0.985 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.6946, allocations: 0.4924 MB / 0.9855 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.6947, allocations: 178.5 kB / 0.9857 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.695, allocations: 126.2 kB / 0.9858 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6951, allocations: 329.9 kB / 0.9861 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009272/0.6961, allocations: 373 kB / 0.9865 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.6971, allocations: 0.4936 MB / 0.987 GB, free: 60 kB / 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.005981/0.7031, allocations: 2.262 MB / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.7031, allocations: 4 kB / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002218/0.7053, allocations: 0.9864 MB / 0.9901 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.7054, allocations: 4 kB / 0.9901 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.7054, allocations: 4 kB / 0.9901 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.7054, allocations: 8 kB / 0.9902 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008926/0.7063, allocations: 199.8 kB / 0.9903 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.7063, allocations: 8.875 kB / 0.9903 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008542/0.7072, allocations: 63.92 kB / 0.9904 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.7072, allocations: 24 kB / 0.9904 GB, free: 12.43 MB / 0.7481 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.0004146/0.7077, allocations: 316.7 kB / 0.9907 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.7078, allocations: 99.39 kB / 0.9908 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.708, allocations: 108.7 kB / 0.9909 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.7081, allocations: 15.92 kB / 0.9909 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.7081, allocations: 0 / 0.9909 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001953/0.71, allocations: 1.015 MB / 0.9919 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004307/0.7143, allocations: 2.141 MB / 0.994 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.7144, allocations: 0 / 0.994 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008219/0.7152, allocations: 168.2 kB / 0.9942 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.7152, allocations: 4 kB / 0.9942 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.7153, allocations: 20 kB / 0.9942 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/0.7153, allocations: 13.11 kB / 0.9942 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.7153, allocations: 7.875 kB / 0.9942 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002977/0.7183, allocations: 1.416 MB / 0.9956 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/0.7186, allocations: 260.4 kB / 0.9959 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.7188, allocations: 19.92 kB / 0.9959 GB, free: 6.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/0.7196, allocations: 63.94 kB / 0.9959 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.7197, allocations: 43.83 kB / 0.996 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.7198, allocations: 31.98 kB / 0.996 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007303/0.7205, allocations: 0.6005 MB / 0.9966 GB, free: 5.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7205, allocations: 0 / 0.9966 GB, free: 5.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007265/0.7213, allocations: 267.9 kB / 0.9969 GB, free: 5.578 MB / 0.7481 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.003642/0.7249, allocations: 2.083 MB / 0.9989 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002055/0.727, allocations: 0.8118 MB / 0.9997 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.727, allocations: 4 kB / 0.9997 GB, free: 2.625 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009636/0.728, allocations: 388.3 kB / 1 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.7302, allocations: 0.5671 MB / 1.001 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.7443, allocations: 8.225 MB / 1.009 GB, free: 9.145 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/0.7451, allocations: 1.118 MB / 1.01 GB, free: 8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007904/0.7459, allocations: 251.8 kB / 1.01 GB, free: 7.75 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005569/0.7464, allocations: 351.3 kB / 1.01 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of SimCode: time 4.4e-07/0.7464, allocations: 0 / 1.01 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05925/0.8057, allocations: 28.75 MB / 1.038 GB, free: 11.2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.001/9.807, allocations: 8.688 kB / 1.038 GB, free: 11.19 MB / 0.795 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)