Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.00124/0.00124, allocations: 108 kB / 15.6 MB, free: 132 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.001389/0.00139, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00246/0.00246, allocations: 275 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.022/1.022, allocations: 178.6 MB / 0.5073 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002659/0.002659, allocations: 103.4 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1452, allocations: 89.14 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4342/0.5794, allocations: 190.6 MB / 0.8797 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00817/0.5877, allocations: 5.732 MB / 0.8853 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/0.5881, allocations: 40.72 kB / 0.8853 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.5894, allocations: 0.5858 MB / 0.8859 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003255/0.5927, allocations: 1.833 MB / 0.8877 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.5949, allocations: 1.175 MB / 0.8888 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003009/0.598, allocations: 2.947 MB / 0.8917 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.5992, allocations: 0.9644 MB / 0.8927 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.6005, allocations: 1.043 MB / 0.8937 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.6021, allocations: 0.9103 MB / 0.8946 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.6023, allocations: 108 kB / 0.8947 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002264/0.6046, allocations: 1.434 MB / 0.8961 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004751/0.6051, allocations: 458.8 kB / 0.8965 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007017/0.6058, allocations: 0.6534 MB / 0.8971 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.6081, allocations: 2.119 MB / 0.8992 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6081, allocations: 0 / 0.8992 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6082, allocations: 0 / 0.8992 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.6082, allocations: 3.984 kB / 0.8992 GB, free: 8.93 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002374/0.6106, allocations: 1.516 MB / 0.9007 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.6106, allocations: 16.03 kB / 0.9007 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001812/0.6108, allocations: 139.2 kB / 0.9008 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.6126, allocations: 314.3 kB / 0.9011 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.6139, allocations: 0.8084 MB / 0.9019 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.614, allocations: 66 kB / 0.902 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.6141, allocations: 84 kB / 0.9021 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.6157, allocations: 0.9208 MB / 0.903 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.6157, allocations: 3.984 kB / 0.903 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.156e-05/0.6158, allocations: 44 kB / 0.903 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/0.6158, allocations: 33.98 kB / 0.9031 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.6173, allocations: 0.8276 MB / 0.9039 GB, free: 4.055 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.005299/0.6226, allocations: 3.539 MB / 0.9073 GB, free: 308 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008081/0.6234, allocations: 0.4933 MB / 0.9078 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004757/0.6239, allocations: 295.3 kB / 0.9081 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.6241, allocations: 101.5 kB / 0.9082 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.6242, allocations: 46.94 kB / 0.9082 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 1.743e-06/0.6242, allocations: 0 / 0.9082 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003884/0.6281, allocations: 1.915 MB / 0.9101 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.6281, allocations: 59.84 kB / 0.9101 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009894/0.6291, allocations: 0.8059 MB / 0.9109 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.6292, allocations: 37.7 kB / 0.911 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.6296, allocations: 483.2 kB / 0.9114 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.6297, allocations: 165.5 kB / 0.9116 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.6299, allocations: 118.2 kB / 0.9117 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.6301, allocations: 329.9 kB / 0.912 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004497/0.6305, allocations: 245.2 kB / 0.9122 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/0.6311, allocations: 357.2 kB / 0.9126 GB, free: 10.68 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.003811/0.6349, allocations: 1.531 MB / 0.9141 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6349, allocations: 4 kB / 0.9141 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001334/0.6363, allocations: 0.7883 MB / 0.9149 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.6363, allocations: 4.344 kB / 0.9149 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.6363, allocations: 8 kB / 0.9149 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.6366, allocations: 93.66 kB / 0.915 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.6372, allocations: 143.8 kB / 0.9151 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/0.6404, allocations: 3.302 MB / 0.9183 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/0.6411, allocations: 31.92 kB / 0.9184 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.6412, allocations: 23.94 kB / 0.9184 GB, free: 4.41 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: 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003953/0.6416, allocations: 308.6 kB / 0.9187 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.6418, allocations: 94.88 kB / 0.9188 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.642, allocations: 100.7 kB / 0.9189 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.642, allocations: 4 kB / 0.9189 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.642, allocations: 0.875 kB / 0.9189 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/0.6431, allocations: 0.8465 MB / 0.9197 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.6459, allocations: 1.787 MB / 0.9214 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6459, allocations: 4 kB / 0.9214 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.6465, allocations: 128.3 kB / 0.9216 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/0.6468, allocations: 68.98 kB / 0.9216 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.6468, allocations: 16 kB / 0.9216 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.6486, allocations: 1.79 MB / 0.9234 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6486, allocations: 8.062 kB / 0.9234 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.6503, allocations: 1.076 MB / 0.9244 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.6506, allocations: 235.9 kB / 0.9247 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.6507, allocations: 12 kB / 0.9247 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006575/0.6514, allocations: 25.61 kB / 0.9247 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.6515, allocations: 47.83 kB / 0.9248 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.6516, allocations: 36.22 kB / 0.9248 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006984/0.6523, allocations: 0.5576 MB / 0.9253 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6523, allocations: 4 kB / 0.9253 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007502/0.653, allocations: 284 kB / 0.9256 GB, free: 12.59 MB / 0.6544 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 (45): * Single equations (assignments): 44 * 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.002207/0.6553, allocations: 1.705 MB / 0.9273 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.6567, allocations: 0.8551 MB / 0.9281 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6567, allocations: 0 / 0.9281 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006222/0.6573, allocations: 427.5 kB / 0.9285 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.6599, allocations: 0.6065 MB / 0.9291 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009664/0.6696, allocations: 7.289 MB / 0.9362 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/0.6703, allocations: 1.087 MB / 0.9373 GB, free: 204 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007289/0.6711, allocations: 215.7 kB / 0.9375 GB, free: 15.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.6715, allocations: 347.3 kB / 0.9378 GB, free: 15.64 MB / 0.67 GB Notification: Performance of SimCode: time 2.81e-07/0.6715, allocations: 0 / 0.9378 GB, free: 15.64 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.063/0.7345, allocations: 27.82 MB / 0.965 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.26, allocations: 12.36 kB / 0.965 GB, free: 4.32 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)