Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.004773/0.004773, allocations: 97.81 kB / 15.73 MB, free: 5.961 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.001279/0.001279, allocations: 195.6 kB / 16.67 MB, free: 5.883 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9064/0.9064, allocations: 143.3 MB / 433.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 68.3 kB / 0.5953 GB, free: 12.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1488, allocations: 82.03 MB / 0.6755 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5027/0.6516, allocations: 190.6 MB / 0.8616 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009543/0.6611, allocations: 5.722 MB / 0.8671 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009795/0.6621, allocations: 43.75 kB / 0.8672 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.6636, allocations: 0.5669 MB / 0.8677 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003743/0.6674, allocations: 1.614 MB / 0.8693 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.6704, allocations: 1.214 MB / 0.8705 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003306/0.6737, allocations: 2.559 MB / 0.873 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.6752, allocations: 1.034 MB / 0.874 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.6771, allocations: 1.043 MB / 0.875 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.6788, allocations: 0.8545 MB / 0.8759 GB, free: 396 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.6789, allocations: 108 kB / 0.876 GB, free: 288 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.682, allocations: 1.555 MB / 0.8775 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005434/0.6825, allocations: 0.4948 MB / 0.878 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000748/0.6833, allocations: 0.6417 MB / 0.8786 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.6863, allocations: 2.252 MB / 0.8808 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6864, allocations: 0 / 0.8808 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6864, allocations: 0 / 0.8808 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.6864, allocations: 0 / 0.8808 GB, free: 11.32 MB / 0.6544 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.002589/0.689, allocations: 1.56 MB / 0.8823 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.689, allocations: 12.03 kB / 0.8823 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001895/0.6892, allocations: 143.3 kB / 0.8825 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003031/0.6923, allocations: 482.7 kB / 0.8829 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.6939, allocations: 0.856 MB / 0.8838 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.962e-05/0.6939, allocations: 66 kB / 0.8838 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.6941, allocations: 87.95 kB / 0.8839 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.6965, allocations: 1.179 MB / 0.8851 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.6965, allocations: 0 / 0.8851 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.6966, allocations: 43.94 kB / 0.8851 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-05/0.6967, allocations: 37.98 kB / 0.8851 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.6992, allocations: 1.066 MB / 0.8862 GB, free: 5.68 MB / 0.6544 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.007393/0.7066, allocations: 4.328 MB / 0.8904 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/0.7087, allocations: 0.7327 MB / 0.8911 GB, free: 356 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.7098, allocations: 401.9 kB / 0.8915 GB, free: 15.95 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.71, allocations: 109 kB / 0.8916 GB, free: 15.82 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.71, allocations: 38.56 kB / 0.8916 GB, free: 15.78 MB / 0.67 GB Notification: Performance of pre-optimization done (n=43): time 2.254e-06/0.71, allocations: 3.938 kB / 0.8916 GB, free: 15.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.006119/0.7162, allocations: 2.199 MB / 0.8938 GB, free: 13.53 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.7162, allocations: 59.34 kB / 0.8939 GB, free: 13.46 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.7174, allocations: 0.8647 MB / 0.8947 GB, free: 12.58 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.7175, allocations: 37.7 kB / 0.8947 GB, free: 12.54 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.7179, allocations: 0.4924 MB / 0.8952 GB, free: 12.04 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.7181, allocations: 162.6 kB / 0.8954 GB, free: 11.88 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.7183, allocations: 130.2 kB / 0.8955 GB, free: 11.75 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.7185, allocations: 326 kB / 0.8958 GB, free: 11.42 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000986/0.7195, allocations: 373 kB / 0.8962 GB, free: 11.06 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.7206, allocations: 0.5013 MB / 0.8966 GB, free: 10.5 MB / 0.67 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.006496/0.7271, allocations: 2.263 MB / 0.8989 GB, free: 8.172 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.7271, allocations: 4 kB / 0.8989 GB, free: 8.168 MB / 0.67 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002531/0.7296, allocations: 0.9865 MB / 0.8998 GB, free: 7.172 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.7297, allocations: 4 kB / 0.8998 GB, free: 7.168 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.7297, allocations: 4 kB / 0.8998 GB, free: 7.164 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.7297, allocations: 8 kB / 0.8998 GB, free: 7.156 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009839/0.7307, allocations: 195.8 kB / 0.9 GB, free: 6.965 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.7307, allocations: 11.92 kB / 0.9 GB, free: 6.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.7317, allocations: 63.94 kB / 0.9001 GB, free: 6.891 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/0.7318, allocations: 31.92 kB / 0.9001 GB, free: 6.859 MB / 0.67 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.0005469/0.7324, allocations: 309.5 kB / 0.9004 GB, free: 6.547 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.7326, allocations: 103.4 kB / 0.9005 GB, free: 6.445 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.7328, allocations: 104.8 kB / 0.9006 GB, free: 6.344 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.7328, allocations: 7.938 kB / 0.9006 GB, free: 6.336 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.7328, allocations: 4 kB / 0.9006 GB, free: 6.332 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002182/0.735, allocations: 1.019 MB / 0.9016 GB, free: 5.227 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004922/0.74, allocations: 2.141 MB / 0.9037 GB, free: 2.988 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.74, allocations: 3.984 kB / 0.9037 GB, free: 2.984 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00092/0.7409, allocations: 168.1 kB / 0.9039 GB, free: 2.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.7409, allocations: 4 kB / 0.9039 GB, free: 2.816 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.741, allocations: 19.98 kB / 0.9039 GB, free: 2.797 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.741, allocations: 6.891 kB / 0.9039 GB, free: 2.793 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.741, allocations: 11.94 kB / 0.9039 GB, free: 2.781 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/0.7443, allocations: 1.438 MB / 0.9053 GB, free: 1.289 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/0.7448, allocations: 260.4 kB / 0.9056 GB, free: 1.016 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.7449, allocations: 12 kB / 0.9056 GB, free: 1.004 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009089/0.7458, allocations: 79.08 kB / 0.9057 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.7459, allocations: 31.91 kB / 0.9057 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.746, allocations: 35.97 kB / 0.9057 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008246/0.7469, allocations: 0.5966 MB / 0.9063 GB, free: 276 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7469, allocations: 4 kB / 0.9063 GB, free: 272 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.000812/0.7477, allocations: 267.9 kB / 0.9066 GB, free: 4 kB / 0.67 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.004006/0.7517, allocations: 2.066 MB / 0.9086 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002215/0.7539, allocations: 0.8118 MB / 0.9094 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.7539, allocations: 7.938 kB / 0.9094 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.755, allocations: 388.4 kB / 0.9098 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/0.7576, allocations: 0.5844 MB / 0.9103 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/0.773, allocations: 8.204 MB / 0.9183 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000857/0.7739, allocations: 1.106 MB / 0.9194 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009433/0.7749, allocations: 267.7 kB / 0.9197 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005866/0.7755, allocations: 355.3 kB / 0.92 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of SimCode: time 4.21e-07/0.7755, allocations: 0 / 0.92 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06213/0.8376, allocations: 28.75 MB / 0.9481 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.399/10.24, allocations: 15.75 kB / 0.9481 GB, free: 5.609 MB / 0.7169 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)