Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_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.001138/0.001138, allocations: 109.4 kB / 15.69 MB, free: 128 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.001297/0.001297, allocations: 188.9 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 75.56 kB / 0.6718 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.223, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6401/0.8631, allocations: 190.4 MB / 0.9696 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008827/0.8721, allocations: 5.655 MB / 0.9751 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.874, allocations: 39 kB / 0.9752 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.8757, allocations: 0.5647 MB / 0.9757 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004551/0.8802, allocations: 1.599 MB / 0.9773 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003383/0.8836, allocations: 1.211 MB / 0.9785 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003783/0.8874, allocations: 2.544 MB / 0.9809 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.8888, allocations: 1.032 MB / 0.9819 GB, free: 13 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.8907, allocations: 1.039 MB / 0.983 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.8922, allocations: 0.85 MB / 0.9838 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.8923, allocations: 114.1 kB / 0.9839 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.8953, allocations: 1.551 MB / 0.9854 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004851/0.8958, allocations: 0.4922 MB / 0.9859 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006819/0.8965, allocations: 0.6458 MB / 0.9865 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.8994, allocations: 2.169 MB / 0.9886 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8994, allocations: 0 / 0.9886 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.136e-06/0.8994, allocations: 2.281 kB / 0.9886 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.8994, allocations: 3.938 kB / 0.9887 GB, free: 9.453 MB / 0.7325 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.002229/0.9016, allocations: 1.517 MB / 0.9901 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.9017, allocations: 10.62 kB / 0.9901 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/0.9018, allocations: 139.8 kB / 0.9903 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002758/0.9046, allocations: 470.1 kB / 0.9907 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.906, allocations: 0.8381 MB / 0.9915 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.906, allocations: 69.59 kB / 0.9916 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.9062, allocations: 86.16 kB / 0.9917 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.9081, allocations: 1.174 MB / 0.9928 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.9082, allocations: 0 / 0.9928 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.9083, allocations: 36.27 kB / 0.9929 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.9083, allocations: 40.64 kB / 0.9929 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.9104, allocations: 1.069 MB / 0.994 GB, free: 6.09 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.006227/0.9167, allocations: 4.303 MB / 0.9982 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.9185, allocations: 0.7379 MB / 0.9989 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008543/0.9193, allocations: 402.1 kB / 0.9993 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.9195, allocations: 105.4 kB / 0.9994 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.9196, allocations: 40.78 kB / 0.9994 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 3.527e-06/0.9196, allocations: 0 / 0.9994 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.005331/0.9249, allocations: 2.185 MB / 1.002 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.925, allocations: 55.72 kB / 1.002 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009195/0.9259, allocations: 0.8634 MB / 1.002 GB, free: 180 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/0.9259, allocations: 38.73 kB / 1.002 GB, free: 140 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006106/0.9266, allocations: 0.5157 MB / 1.003 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.9267, allocations: 161.2 kB / 1.003 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.9269, allocations: 123.2 kB / 1.003 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.9271, allocations: 327 kB / 1.004 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008992/0.928, allocations: 375.9 kB / 1.004 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.929, allocations: 0.5096 MB / 1.004 GB, free: 14.76 MB / 0.7481 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.005737/0.9347, allocations: 2.256 MB / 1.007 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9348, allocations: 2.625 kB / 1.007 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002156/0.9369, allocations: 0.9803 MB / 1.008 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.9369, allocations: 7.406 kB / 1.008 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.937, allocations: 5.469 kB / 1.008 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.937, allocations: 5.031 kB / 1.008 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/0.9379, allocations: 191.8 kB / 1.008 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.9379, allocations: 14.59 kB / 1.008 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009414/0.9389, allocations: 70.92 kB / 1.008 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.9389, allocations: 26.19 kB / 1.008 GB, free: 12.94 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.0004679/0.9394, allocations: 310.3 kB / 1.008 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.9395, allocations: 97.38 kB / 1.008 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.9397, allocations: 102.8 kB / 1.008 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.9398, allocations: 8.859 kB / 1.008 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.9398, allocations: 3.938 kB / 1.008 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001867/0.9416, allocations: 1.025 MB / 1.009 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.9459, allocations: 2.128 MB / 1.011 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.9459, allocations: 2.75 kB / 1.011 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008073/0.9467, allocations: 172.7 kB / 1.012 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.9467, allocations: 9.25 kB / 1.012 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.9468, allocations: 15.66 kB / 1.012 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.9468, allocations: 8.953 kB / 1.012 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9468, allocations: 5.188 kB / 1.012 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.9497, allocations: 1.447 MB / 1.013 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/0.9501, allocations: 258.7 kB / 1.013 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.9502, allocations: 11.78 kB / 1.013 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/0.951, allocations: 72.89 kB / 1.013 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.9511, allocations: 35.48 kB / 1.013 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/0.9512, allocations: 27.64 kB / 1.013 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006771/0.9519, allocations: 0.6003 MB / 1.014 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9519, allocations: 0 / 1.014 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007614/0.9527, allocations: 268 kB / 1.014 GB, free: 8.84 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.U,volDyn.dynBal.mXi[1],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.003456/0.9561, allocations: 2.091 MB / 1.016 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001958/0.9581, allocations: 0.819 MB / 1.017 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9581, allocations: 0 / 1.017 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008931/0.959, allocations: 395.8 kB / 1.018 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.9613, allocations: 0.5781 MB / 1.018 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/0.975, allocations: 8.139 MB / 1.026 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006657/0.9757, allocations: 1.102 MB / 1.027 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009481/0.9766, allocations: 271.8 kB / 1.027 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000506/0.9771, allocations: 351.3 kB / 1.028 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of SimCode: time 9.32e-07/0.9771, allocations: 0 / 1.028 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05345/1.031, allocations: 28.51 MB / 1.056 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.846/9.877, allocations: 12.19 kB / 1.056 GB, free: 1.605 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)