Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.004232/0.004232, allocations: 98.38 kB / 15.73 MB, free: 6.012 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.001182/0.001182, allocations: 197 kB / 16.67 MB, free: 5.949 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002354/0.002354, allocations: 274.2 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9432/0.9432, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002549/0.002549, allocations: 102.6 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1562, allocations: 86.96 MB / 0.7659 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5665/0.7227, allocations: 222.6 MB / 0.9833 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.7416, allocations: 12.13 MB / 0.9951 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002725/0.7443, allocations: 75.56 kB / 0.9952 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.7467, allocations: 0.8577 MB / 0.9961 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007772/0.7545, allocations: 2.855 MB / 0.9988 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003789/0.7583, allocations: 1.447 MB / 1 GB, free: 2.93 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006432/0.7648, allocations: 4.459 MB / 1.005 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002525/0.7673, allocations: 1.722 MB / 1.006 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005511/0.7728, allocations: 2.466 MB / 1.009 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003/0.7759, allocations: 1.559 MB / 1.01 GB, free: 8.699 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003104/0.7762, allocations: 180 kB / 1.01 GB, free: 8.523 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00428/0.7805, allocations: 2.163 MB / 1.013 GB, free: 6.355 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0007636/0.7812, allocations: 0.709 MB / 1.013 GB, free: 5.645 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.7828, allocations: 1.046 MB / 1.014 GB, free: 4.594 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007229/0.79, allocations: 3.344 MB / 1.017 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.7901, allocations: 7.938 kB / 1.017 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7901, allocations: 0 / 1.017 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.091e-05/0.7901, allocations: 4 kB / 1.017 GB, free: 1.227 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003954/0.7941, allocations: 2.34 MB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.7941, allocations: 8.031 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002701/0.7944, allocations: 210.8 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/0.7973, allocations: 0.5061 MB / 1.02 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002221/0.7996, allocations: 1.35 MB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.441e-05/0.7997, allocations: 106.8 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.7999, allocations: 163.9 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.8027, allocations: 1.753 MB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/0.8027, allocations: 3.938 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.8029, allocations: 63.94 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.043e-05/0.8029, allocations: 54.55 kB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.8052, allocations: 1.399 MB / 1.025 GB, free: 9.035 MB / 0.7794 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.009078/0.8143, allocations: 7.293 MB / 1.032 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.8161, allocations: 1.067 MB / 1.033 GB, free: 264 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.8171, allocations: 0.6986 MB / 1.034 GB, free: 15.55 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/0.8174, allocations: 110 kB / 1.034 GB, free: 15.42 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.8174, allocations: 55.44 kB / 1.034 GB, free: 15.36 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00112/0.8186, allocations: 318.9 kB / 1.035 GB, free: 15.05 MB / 0.795 GB Notification: Performance of pre-optimization done (n=106): time 3.717e-06/0.8186, allocations: 0 / 1.035 GB, free: 15.05 MB / 0.795 GB Notification: Performance of matching and sorting (n=112): time 0.008368/0.827, allocations: 4.53 MB / 1.039 GB, free: 10.45 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.8271, allocations: 171.2 kB / 1.039 GB, free: 10.24 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.8287, allocations: 1.267 MB / 1.04 GB, free: 8.965 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.059e-05/0.8288, allocations: 49.7 kB / 1.04 GB, free: 8.91 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005925/0.8294, allocations: 0.7175 MB / 1.041 GB, free: 8.188 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003744/0.8298, allocations: 416.4 kB / 1.042 GB, free: 7.777 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003941/0.8302, allocations: 259.6 kB / 1.042 GB, free: 7.516 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.8304, allocations: 357.9 kB / 1.042 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008551/0.8312, allocations: 0.5309 MB / 1.043 GB, free: 6.629 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.8324, allocations: 0.8563 MB / 1.043 GB, free: 5.648 MB / 0.795 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.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: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.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: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/0.8441, allocations: 4.797 MB / 1.048 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.8442, allocations: 0 / 1.048 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004097/0.8483, allocations: 1.62 MB / 1.05 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.8483, allocations: 11.98 kB / 1.05 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.872e-05/0.8484, allocations: 11.94 kB / 1.05 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.87e-05/0.8484, allocations: 16.75 kB / 1.05 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.8501, allocations: 287.6 kB / 1.05 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.032e-05/0.8502, allocations: 23.92 kB / 1.05 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.852, allocations: 51.88 kB / 1.05 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.8521, allocations: 59.98 kB / 1.05 GB, free: 14.61 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.001017/0.8532, allocations: 424.8 kB / 1.051 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/0.8537, allocations: 171 kB / 1.051 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/0.8568, allocations: 1.291 MB / 1.052 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.8569, allocations: 16 kB / 1.052 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.8569, allocations: 4 kB / 1.052 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002497/0.8594, allocations: 1.248 MB / 1.053 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008714/0.8681, allocations: 3.773 MB / 1.057 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/0.8682, allocations: 8 kB / 1.057 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/0.8698, allocations: 251.6 kB / 1.057 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/0.8698, allocations: 12.72 kB / 1.057 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.92e-05/0.8699, allocations: 40.81 kB / 1.057 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.327e-05/0.8699, allocations: 27.92 kB / 1.057 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.336e-05/0.8699, allocations: 15.94 kB / 1.057 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003233/0.8732, allocations: 2.126 MB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007346/0.8739, allocations: 371.8 kB / 1.06 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.8741, allocations: 39.94 kB / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.8751, allocations: 43.97 kB / 1.06 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.8753, allocations: 109.9 kB / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.824e-05/0.8754, allocations: 47.98 kB / 1.06 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001232/0.8766, allocations: 0.849 MB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8766, allocations: 4 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001312/0.8779, allocations: 440 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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.003764/0.8817, allocations: 2.802 MB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00218/0.8839, allocations: 1.25 MB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.8839, allocations: 4.625 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008355/0.8848, allocations: 0.5477 MB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/0.889, allocations: 0.9392 MB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/0.908, allocations: 12.73 MB / 1.079 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.9091, allocations: 1.376 MB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001345/0.9105, allocations: 389.2 kB / 1.081 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009429/0.9114, allocations: 0.6438 MB / 1.081 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of SimCode: time 8.21e-07/0.9114, allocations: 0 / 1.081 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3899/1.301, allocations: 43.26 MB / 1.124 GB, free: 282.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/16.12, allocations: 4.609 kB / 1.124 GB, free: 282.8 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)