Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.005163/0.005163, allocations: 96.09 kB / 15.73 MB, free: 6.043 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.001472/0.001472, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002377/0.002377, allocations: 286.9 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9976/0.9976, allocations: 178.6 MB / 0.5074 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002536/0.002536, allocations: 96.06 kB / 0.6943 GB, free: 3.547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3983, allocations: 89.14 MB / 0.7814 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2007/0.599, allocations: 190.6 MB / 0.9675 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008892/0.6079, allocations: 5.734 MB / 0.9731 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.609, allocations: 43.75 kB / 0.9731 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.6105, allocations: 0.5785 MB / 0.9737 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003633/0.6142, allocations: 1.622 MB / 0.9753 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.617, allocations: 1.216 MB / 0.9765 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003167/0.6202, allocations: 2.573 MB / 0.979 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.6214, allocations: 0.8667 MB / 0.9798 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.6233, allocations: 1.062 MB / 0.9809 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.625, allocations: 0.8033 MB / 0.9816 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002126/0.6253, allocations: 96 kB / 0.9817 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.628, allocations: 1.543 MB / 0.9832 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004541/0.6285, allocations: 406.9 kB / 0.9836 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007459/0.6292, allocations: 0.5833 MB / 0.9842 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.6319, allocations: 2.025 MB / 0.9862 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.632, allocations: 0 / 0.9862 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.363e-06/0.632, allocations: 0 / 0.9862 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.632, allocations: 0 / 0.9862 GB, free: 12.8 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002218/0.6342, allocations: 1.474 MB / 0.9876 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6342, allocations: 8.031 kB / 0.9876 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.6344, allocations: 122.6 kB / 0.9877 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/0.6369, allocations: 422.9 kB / 0.9881 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.6382, allocations: 0.8045 MB / 0.9889 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.6382, allocations: 62 kB / 0.989 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.6384, allocations: 72 kB / 0.9891 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.6402, allocations: 0.9827 MB / 0.99 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.6402, allocations: 7.922 kB / 0.99 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.541e-05/0.6403, allocations: 36 kB / 0.9901 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.6404, allocations: 29.98 kB / 0.9901 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.6423, allocations: 0.8705 MB / 0.9909 GB, free: 7.805 MB / 0.7481 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.005634/0.648, allocations: 3.49 MB / 0.9943 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.6496, allocations: 0.6106 MB / 0.9949 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007871/0.6504, allocations: 333.3 kB / 0.9953 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.6505, allocations: 101.4 kB / 0.9954 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.6506, allocations: 43.2 kB / 0.9954 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=39): time 1.843e-06/0.6506, allocations: 0 / 0.9954 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of matching and sorting (n=41): time 0.007636/0.6582, allocations: 2.407 MB / 0.9978 GB, free: 0.5312 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.6583, allocations: 55.41 kB / 0.9978 GB, free: 476 kB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009678/0.6593, allocations: 0.794 MB / 0.9986 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.6593, allocations: 37.7 kB / 0.9986 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.6597, allocations: 452.5 kB / 0.999 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.6598, allocations: 154.7 kB / 0.9992 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.66, allocations: 110.1 kB / 0.9993 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6602, allocations: 326 kB / 0.9996 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00077/0.6609, allocations: 304.9 kB / 0.9999 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008557/0.6618, allocations: 408.1 kB / 1 GB, free: 13.85 MB / 0.7637 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.005205/0.667, allocations: 1.876 MB / 1.002 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.667, allocations: 0 / 1.002 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003099/0.6702, allocations: 1.047 MB / 1.003 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.6702, allocations: 4 kB / 1.003 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6702, allocations: 4 kB / 1.003 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005719/0.6708, allocations: 188.8 kB / 1.003 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006585/0.6714, allocations: 147.8 kB / 1.003 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003857/0.6753, allocations: 2.24 MB / 1.006 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/0.6761, allocations: 47.95 kB / 1.006 GB, free: 8.105 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.6762, allocations: 20 kB / 1.006 GB, free: 8.086 MB / 0.7637 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: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004047/0.6766, allocations: 286.3 kB / 1.006 GB, free: 7.797 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.6768, allocations: 95.38 kB / 1.006 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.677, allocations: 88.25 kB / 1.006 GB, free: 7.609 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.677, allocations: 15.92 kB / 1.006 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.677, allocations: 0 / 1.006 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002818/0.6798, allocations: 0.8871 MB / 1.007 GB, free: 6.672 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004997/0.6848, allocations: 2.087 MB / 1.009 GB, free: 4.484 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.6849, allocations: 7.938 kB / 1.009 GB, free: 4.477 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/0.6855, allocations: 128.2 kB / 1.009 GB, free: 4.352 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005477/0.686, allocations: 188.7 kB / 1.009 GB, free: 4.164 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.6861, allocations: 8 kB / 1.009 GB, free: 4.156 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003634/0.6897, allocations: 2.195 MB / 1.012 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.6897, allocations: 7.969 kB / 1.012 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003692/0.6934, allocations: 1.417 MB / 1.013 GB, free: 348 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.6938, allocations: 244.5 kB / 1.013 GB, free: 84 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.694, allocations: 12 kB / 1.013 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007722/0.6948, allocations: 56 kB / 1.013 GB, free: 16 kB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.6949, allocations: 47.77 kB / 1.013 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/0.6949, allocations: 27.98 kB / 1.013 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007134/0.6957, allocations: 0.5575 MB / 1.014 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6957, allocations: 0 / 1.014 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007891/0.6965, allocations: 271.9 kB / 1.014 GB, free: 15.12 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004556/0.701, allocations: 2.075 MB / 1.016 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002012/0.7031, allocations: 0.8052 MB / 1.017 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7031, allocations: 0 / 1.017 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000948/0.704, allocations: 459.5 kB / 1.017 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.7064, allocations: 0.5431 MB / 1.018 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.7214, allocations: 7.688 MB / 1.025 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007226/0.7222, allocations: 1.048 MB / 1.026 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000701/0.7229, allocations: 195.2 kB / 1.027 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/0.7234, allocations: 319.3 kB / 1.027 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.7234, allocations: 0 / 1.027 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06432/0.7877, allocations: 27.87 MB / 1.054 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.9, allocations: 9.594 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_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_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)