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.004952/0.004952, allocations: 97.39 kB / 15.73 MB, free: 6.039 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.001215/0.001215, allocations: 202.2 kB / 16.68 MB, free: 5.961 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.333/1.333, 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.002433/0.002433, allocations: 290.7 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.9875/0.9875, allocations: 178.6 MB / 0.5074 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 109.5 kB / 0.6943 GB, free: 3.578 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4088, allocations: 89.13 MB / 0.7814 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2091/0.6179, allocations: 190.6 MB / 0.9675 GB, free: 28 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008905/0.6269, allocations: 5.73 MB / 0.9731 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006891/0.6276, allocations: 43.75 kB / 0.9731 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.629, allocations: 0.5786 MB / 0.9737 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003744/0.6328, allocations: 1.839 MB / 0.9755 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.6354, allocations: 1.197 MB / 0.9766 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003323/0.6387, allocations: 2.944 MB / 0.9795 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.6399, allocations: 0.9498 MB / 0.9804 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.6414, allocations: 1.051 MB / 0.9815 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.643, allocations: 0.9205 MB / 0.9824 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.6432, allocations: 108 kB / 0.9825 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.6457, allocations: 1.434 MB / 0.9839 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004753/0.6462, allocations: 458.8 kB / 0.9843 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006927/0.6469, allocations: 0.6534 MB / 0.9849 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.6496, allocations: 2.141 MB / 0.987 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.6496, allocations: 0 / 0.987 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6496, allocations: 0 / 0.987 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.6496, allocations: 4 kB / 0.987 GB, free: 11.94 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002366/0.652, allocations: 1.545 MB / 0.9885 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.652, allocations: 11.97 kB / 0.9886 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.6522, allocations: 143.2 kB / 0.9887 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.6541, allocations: 319 kB / 0.989 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.6554, allocations: 0.8598 MB / 0.9898 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.6555, allocations: 66 kB / 0.9899 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.6556, allocations: 80 kB / 0.99 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.6571, allocations: 0.9169 MB / 0.9909 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.6572, allocations: 0 / 0.9909 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/0.6573, allocations: 40 kB / 0.9909 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.866e-05/0.6573, allocations: 30 kB / 0.9909 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.6588, allocations: 0.8276 MB / 0.9917 GB, free: 7 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.005136/0.6639, allocations: 3.514 MB / 0.9952 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007922/0.6647, allocations: 0.4994 MB / 0.9957 GB, free: 2.762 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.6652, allocations: 299.3 kB / 0.996 GB, free: 2.469 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/0.6654, allocations: 101.5 kB / 0.996 GB, free: 2.352 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.6654, allocations: 43 kB / 0.9961 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=47): time 1.483e-06/0.6654, allocations: 0 / 0.9961 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.003809/0.6693, allocations: 1.936 MB / 0.998 GB, free: 276 kB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.6693, allocations: 55.84 kB / 0.998 GB, free: 208 kB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009856/0.6703, allocations: 0.8059 MB / 0.9988 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.204e-05/0.6704, allocations: 41.7 kB / 0.9989 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.6707, allocations: 476.3 kB / 0.9993 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.6709, allocations: 186.4 kB / 0.9995 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.6711, allocations: 114.3 kB / 0.9996 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.6713, allocations: 333.9 kB / 0.9999 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.6717, allocations: 241.2 kB / 1 GB, free: 14 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.6723, allocations: 357.2 kB / 1 GB, free: 13.62 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.003707/0.676, allocations: 1.534 MB / 1.002 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.676, allocations: 4 kB / 1.002 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001301/0.6773, allocations: 0.7853 MB / 1.003 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.6773, allocations: 12 kB / 1.003 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.6774, allocations: 0 / 1.003 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.6776, allocations: 93.66 kB / 1.003 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.6783, allocations: 147.8 kB / 1.003 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/0.6813, allocations: 3.303 MB / 1.006 GB, free: 7.391 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.682, allocations: 28.09 kB / 1.006 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.6821, allocations: 28 kB / 1.006 GB, free: 7.336 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 (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.0003981/0.6825, allocations: 302.1 kB / 1.007 GB, free: 7.031 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.6826, allocations: 95.44 kB / 1.007 GB, free: 6.938 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.6828, allocations: 100.7 kB / 1.007 GB, free: 6.84 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6828, allocations: 8 kB / 1.007 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.6828, allocations: 0 / 1.007 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001074/0.6839, allocations: 0.8465 MB / 1.008 GB, free: 5.898 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.6867, allocations: 1.795 MB / 1.009 GB, free: 4.004 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.6867, allocations: 4 kB / 1.009 GB, free: 4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.6873, allocations: 127.8 kB / 1.009 GB, free: 3.875 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000211/0.6875, allocations: 69.08 kB / 1.01 GB, free: 3.805 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/0.6875, allocations: 20 kB / 1.01 GB, free: 3.785 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.6892, allocations: 1.782 MB / 1.011 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.6893, allocations: 7.984 kB / 1.011 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.6909, allocations: 1.07 MB / 1.012 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.6912, allocations: 244.3 kB / 1.013 GB, free: 484 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.6913, allocations: 12 kB / 1.013 GB, free: 472 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000629/0.6919, allocations: 31.92 kB / 1.013 GB, free: 440 kB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.6921, allocations: 43.95 kB / 1.013 GB, free: 396 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.6921, allocations: 31.97 kB / 1.013 GB, free: 364 kB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007091/0.6928, allocations: 0.5616 MB / 1.013 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6929, allocations: 0 / 1.013 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007557/0.6936, allocations: 283.9 kB / 1.014 GB, free: 15.52 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 (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.002182/0.6958, allocations: 1.711 MB / 1.015 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.6971, allocations: 0.8153 MB / 1.016 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6971, allocations: 0 / 1.016 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005921/0.6977, allocations: 407.7 kB / 1.016 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.7002, allocations: 0.6187 MB / 1.017 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009201/0.7094, allocations: 7.009 MB / 1.024 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007193/0.7102, allocations: 1.083 MB / 1.025 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006433/0.7108, allocations: 215.7 kB / 1.025 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/0.7113, allocations: 343.3 kB / 1.025 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7113, allocations: 0 / 1.025 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06276/0.7741, allocations: 28.04 MB / 1.053 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.94, allocations: 6.859 kB / 1.053 GB, free: 7.406 MB / 0.8106 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)