Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 181 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5507/0.5507, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 223.2 MB / 354.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009499/0.0009496, allocations: 100.3 kB / 427.4 MB, free: 3.973 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003612, allocations: 8 kB / 0.4983 GB, free: 42.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1607, allocations: 72.31 MB / 0.5689 GB, free: 1.875 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.075/5.236, allocations: 1.884 GB / 2.453 GB, free: 218.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/5.237, allocations: 92.31 kB / 2.453 GB, free: 218.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.08/9.317, allocations: 1.113 GB / 3.566 GB, free: 50.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.794e-06/9.317, allocations: 7.938 kB / 3.566 GB, free: 50.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001432/9.317, allocations: 54.94 kB / 3.566 GB, free: 49.98 MB / 0.6198 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.005153/9.322, allocations: 2.147 MB / 3.568 GB, free: 47.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/9.322, allocations: 8.031 kB / 3.568 GB, free: 47.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003729/9.322, allocations: 202.8 kB / 3.568 GB, free: 47.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/9.326, allocations: 0.4975 MB / 3.569 GB, free: 47.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004001/9.33, allocations: 1.571 MB / 3.57 GB, free: 45.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.468e-05/9.33, allocations: 110.8 kB / 3.57 GB, free: 45.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/9.33, allocations: 152 kB / 3.571 GB, free: 45.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/9.333, allocations: 1.711 MB / 3.572 GB, free: 43.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/9.333, allocations: 11.84 kB / 3.572 GB, free: 43.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/9.333, allocations: 64 kB / 3.572 GB, free: 43.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.972e-05/9.333, allocations: 50.55 kB / 3.572 GB, free: 43.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/9.335, allocations: 1.364 MB / 3.574 GB, free: 41.89 MB / 0.6198 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.008525/9.343, allocations: 7.408 MB / 3.581 GB, free: 34.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/9.345, allocations: 1.044 MB / 3.582 GB, free: 33.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/9.345, allocations: 110.3 kB / 3.582 GB, free: 32.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/9.345, allocations: 59.48 kB / 3.582 GB, free: 32.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001565/9.347, allocations: 322.6 kB / 3.582 GB, free: 32.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=106): time 4.278e-06/9.347, allocations: 0 / 3.582 GB, free: 32.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=112): time 0.006927/9.354, allocations: 4.292 MB / 3.587 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/9.354, allocations: 171.3 kB / 3.587 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/9.355, allocations: 1.095 MB / 3.588 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/9.355, allocations: 53.64 kB / 3.588 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005007/9.356, allocations: 0.7007 MB / 3.589 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/9.356, allocations: 394.2 kB / 3.589 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/9.356, allocations: 28 kB / 3.589 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001072/9.356, allocations: 361.9 kB / 3.589 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007988/9.357, allocations: 0.5036 MB / 3.59 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/9.358, allocations: 0.8464 MB / 3.591 GB, free: 23.8 MB / 0.6198 GB 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) 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009898/9.368, allocations: 3.46 MB / 3.594 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/9.368, allocations: 0 / 3.594 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002635/9.371, allocations: 1.577 MB / 3.595 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/9.371, allocations: 8 kB / 3.596 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/9.371, allocations: 8.094 kB / 3.596 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.786e-05/9.371, allocations: 23.94 kB / 3.596 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/9.372, allocations: 279.6 kB / 3.596 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/9.372, allocations: 23.92 kB / 3.596 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/9.374, allocations: 115.7 kB / 3.596 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/9.374, allocations: 63.97 kB / 3.596 GB, free: 18.21 MB / 0.6198 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001033/9.375, allocations: 437.1 kB / 3.596 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/9.375, allocations: 162 kB / 3.597 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/9.377, allocations: 1.252 MB / 3.598 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/9.377, allocations: 12 kB / 3.598 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/9.377, allocations: 4 kB / 3.598 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/9.378, allocations: 1.202 MB / 3.599 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005325/9.384, allocations: 3.73 MB / 3.603 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/9.384, allocations: 8 kB / 3.603 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/9.385, allocations: 247.6 kB / 3.603 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-05/9.385, allocations: 16 kB / 3.603 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.381e-05/9.385, allocations: 36 kB / 3.603 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.426e-05/9.385, allocations: 23.92 kB / 3.603 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/9.385, allocations: 16.34 kB / 3.603 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/9.388, allocations: 2.744 MB / 3.606 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007883/9.388, allocations: 362.9 kB / 3.606 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/9.389, allocations: 39.98 kB / 3.606 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/9.39, allocations: 95.72 kB / 3.606 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/9.39, allocations: 96.34 kB / 3.606 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.311e-05/9.39, allocations: 55.92 kB / 3.606 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001047/9.391, allocations: 0.8412 MB / 3.607 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.21e-07/9.391, allocations: 6.734 kB / 3.607 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002259/9.393, allocations: 0.6249 MB / 3.608 GB, free: 5.344 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007044/9.4, allocations: 8.063 MB / 3.616 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002541/9.403, allocations: 1.196 MB / 3.617 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/9.403, allocations: 4 kB / 3.617 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008698/9.404, allocations: 0.5291 MB / 3.617 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004768/9.409, allocations: 0.8742 MB / 3.618 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4386/9.847, allocations: 10.44 MB / 3.628 GB, free: 71.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/9.849, allocations: 1.408 MB / 3.63 GB, free: 71.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002851/9.852, allocations: 380.6 kB / 3.63 GB, free: 71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/9.853, allocations: 0.6336 MB / 3.631 GB, free: 70.99 MB / 0.6355 GB Notification: Performance of SimCode: time 1.793e-06/9.853, allocations: 2.734 kB / 3.631 GB, free: 70.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1347/9.988, allocations: 72.25 MB / 3.701 GB, free: 69.37 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/9.988, allocations: 253.7 kB / 3.701 GB, free: 69.03 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.382/14.37, allocations: 0 / 3.701 GB, free: 69.03 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)