Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.001232/0.001232, 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.001219/0.001219, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002502/0.002502, allocations: 297.9 kB / 290.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.041/1.041, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 101 kB / 0.6065 GB, free: 24.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1485, allocations: 89.15 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.4402/0.5887, allocations: 181.9 MB / 0.8712 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008109/0.5969, allocations: 5.362 MB / 0.8764 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007381/0.5976, allocations: 34.41 kB / 0.8765 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.5987, allocations: 440.5 kB / 0.8769 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.6022, allocations: 1.679 MB / 0.8785 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.6039, allocations: 0.7916 MB / 0.8793 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00218/0.6061, allocations: 2.188 MB / 0.8814 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008059/0.6069, allocations: 0.6911 MB / 0.8821 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009409/0.6078, allocations: 0.7363 MB / 0.8828 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.6093, allocations: 0.6863 MB / 0.8835 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.6094, allocations: 75 kB / 0.8836 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.6119, allocations: 1.396 MB / 0.8849 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003413/0.6122, allocations: 323.1 kB / 0.8852 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005052/0.6127, allocations: 473.9 kB / 0.8857 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.6148, allocations: 1.652 MB / 0.8873 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6148, allocations: 0 / 0.8873 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6148, allocations: 0 / 0.8873 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.6148, allocations: 0 / 0.8873 GB, free: 5.18 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00177/0.6166, allocations: 1.177 MB / 0.8885 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.6166, allocations: 8.031 kB / 0.8885 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.6168, allocations: 106.5 kB / 0.8886 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.6185, allocations: 270.7 kB / 0.8888 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.6196, allocations: 0.6709 MB / 0.8895 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.6197, allocations: 49.3 kB / 0.8895 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.855e-05/0.6198, allocations: 60 kB / 0.8896 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.6208, allocations: 0.5843 MB / 0.8901 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.6208, allocations: 1.875 kB / 0.8902 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/0.6209, allocations: 20 kB / 0.8902 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.6209, allocations: 25.25 kB / 0.8902 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009108/0.6218, allocations: 0.5009 MB / 0.8907 GB, free: 1.609 MB / 0.6075 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.003271/0.6251, allocations: 2.4 MB / 0.893 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008319/0.626, allocations: 434.8 kB / 0.8934 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/0.6263, allocations: 220.8 kB / 0.8937 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.6265, allocations: 97.09 kB / 0.8937 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.6266, allocations: 38.56 kB / 0.8938 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.6266, allocations: 4 kB / 0.8938 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.002868/0.6295, allocations: 1.433 MB / 0.8952 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.6295, allocations: 63.83 kB / 0.8952 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006503/0.6302, allocations: 0.5421 MB / 0.8958 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.6302, allocations: 37.7 kB / 0.8958 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.6305, allocations: 320.7 kB / 0.8961 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.6307, allocations: 169.5 kB / 0.8963 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.6308, allocations: 90.16 kB / 0.8964 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.631, allocations: 382.7 kB / 0.8967 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.6314, allocations: 177 kB / 0.8969 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.6318, allocations: 252.8 kB / 0.8971 GB, free: 10.64 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003493/0.6353, allocations: 1.45 MB / 0.8986 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6353, allocations: 0 / 0.8986 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000903/0.6362, allocations: 0.5304 MB / 0.8991 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.6362, allocations: 11.94 kB / 0.8991 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6362, allocations: 3.938 kB / 0.8991 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.6362, allocations: 6 kB / 0.8991 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.6367, allocations: 95.89 kB / 0.8992 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.6367, allocations: 4 kB / 0.8992 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.6373, allocations: 22.12 kB / 0.8992 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.6373, allocations: 19.94 kB / 0.8992 GB, free: 8.453 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0003321/0.6376, allocations: 249.9 kB / 0.8995 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.6378, allocations: 63.25 kB / 0.8995 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.6379, allocations: 82.45 kB / 0.8996 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.6379, allocations: 4 kB / 0.8996 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6379, allocations: 0 / 0.8996 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007512/0.6387, allocations: 0.5144 MB / 0.9001 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.6411, allocations: 1.582 MB / 0.9017 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.6411, allocations: 8.625 kB / 0.9017 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.6417, allocations: 115.9 kB / 0.9018 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.6417, allocations: 9.625 kB / 0.9018 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.6417, allocations: 16 kB / 0.9018 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.6417, allocations: 11.94 kB / 0.9018 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.6418, allocations: 7.938 kB / 0.9018 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.643, allocations: 0.9021 MB / 0.9027 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.6433, allocations: 204.2 kB / 0.9029 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.878e-05/0.6434, allocations: 16 kB / 0.9029 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005148/0.6439, allocations: 26.81 kB / 0.9029 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/0.644, allocations: 43.78 kB / 0.903 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/0.644, allocations: 23.98 kB / 0.903 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004706/0.6445, allocations: 402.8 kB / 0.9034 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6445, allocations: 0 / 0.9034 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006395/0.6452, allocations: 204 kB / 0.9036 GB, free: 3.75 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * 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.001835/0.647, allocations: 1.53 MB / 0.9051 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000876/0.6479, allocations: 481.1 kB / 0.9055 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6479, allocations: 4 kB / 0.9055 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.6483, allocations: 232.7 kB / 0.9058 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.6505, allocations: 494 kB / 0.9062 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007723/0.6582, allocations: 5.634 MB / 0.9117 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006424/0.6589, allocations: 0.9733 MB / 0.9127 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006835/0.6595, allocations: 173.8 kB / 0.9128 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/0.6599, allocations: 247.4 kB / 0.9131 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of SimCode: time 8.31e-07/0.6599, allocations: 0 / 0.9131 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04972/0.7097, allocations: 20.26 MB / 0.9329 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.549, allocations: 13.98 kB / 0.9329 GB, free: 5.805 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_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_MixingVolumeAdiabaticCooling.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)