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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 96.89 kB / 15.69 MB, free: 480 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.003287/0.003287, allocations: 172.5 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.642/2.642, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.074/1.074, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006533/0.0006537, allocations: 8 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2806, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 1.008/1.289, allocations: 183.2 MB / 0.7357 GB, free: 2.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03236/1.321, allocations: 11.23 MB / 0.7467 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004908/1.326, allocations: 59.56 kB / 0.7467 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00562/1.332, allocations: 0.898 MB / 0.7476 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01841/1.35, allocations: 2.625 MB / 0.7501 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009089/1.359, allocations: 1.582 MB / 0.7517 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008785/1.368, allocations: 2.572 MB / 0.7542 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003553/1.372, allocations: 1.318 MB / 0.7555 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006834/1.379, allocations: 1.667 MB / 0.7571 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003304/1.382, allocations: 1.004 MB / 0.7581 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005458/1.383, allocations: 76 kB / 0.7582 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005525/1.388, allocations: 0.9594 MB / 0.7591 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001519/1.39, allocations: 0.5453 MB / 0.7596 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001386/1.391, allocations: 388.8 kB / 0.76 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006504/1.398, allocations: 2.14 MB / 0.7621 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/1.398, allocations: 0 / 0.7621 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.667e-06/1.398, allocations: 0 / 0.7621 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001066/1.398, allocations: 0 / 0.7621 GB, free: 7.645 MB / 0.5762 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.007147/1.405, allocations: 1.897 MB / 0.764 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.268e-05/1.405, allocations: 8.031 kB / 0.764 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000969/1.406, allocations: 206.8 kB / 0.7642 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006383/1.413, allocations: 0.505 MB / 0.7647 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005176/1.418, allocations: 1.201 MB / 0.7658 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/1.418, allocations: 106.8 kB / 0.7659 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005183/1.419, allocations: 159.9 kB / 0.7661 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005071/1.424, allocations: 1.735 MB / 0.7678 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.943e-05/1.424, allocations: 11.92 kB / 0.7678 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002375/1.424, allocations: 60 kB / 0.7678 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/1.424, allocations: 54.5 kB / 0.7679 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004131/1.428, allocations: 1.392 MB / 0.7693 GB, free: 84 kB / 0.5762 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.02261/1.451, allocations: 7.313 MB / 0.7764 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/1.454, allocations: 1.051 MB / 0.7774 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/1.454, allocations: 21.14 kB / 0.7774 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.85e-05/1.455, allocations: 55.5 kB / 0.7775 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002541/1.457, allocations: 306.6 kB / 0.7778 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 9.538e-06/1.457, allocations: 0 / 0.7778 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=112): time 0.01598/1.473, allocations: 4.408 MB / 0.7821 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/1.473, allocations: 167.2 kB / 0.7823 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003071/1.476, allocations: 1.251 MB / 0.7835 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003634/1.477, allocations: 53.83 kB / 0.7835 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/1.478, allocations: 0.7008 MB / 0.7842 GB, free: 204 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000867/1.479, allocations: 402.2 kB / 0.7846 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/1.479, allocations: 32 kB / 0.7846 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002601/1.479, allocations: 357.9 kB / 0.785 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/1.481, allocations: 0.5075 MB / 0.7855 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/1.483, allocations: 0.8401 MB / 0.7863 GB, free: 13.95 MB / 0.6075 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.01781/1.5, allocations: 3.492 MB / 0.7897 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/1.5, allocations: 4 kB / 0.7897 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00549/1.506, allocations: 1.6 MB / 0.7913 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.667e-05/1.506, allocations: 15.94 kB / 0.7913 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/1.506, allocations: 8 kB / 0.7913 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.235e-05/1.506, allocations: 16 kB / 0.7913 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/1.508, allocations: 283.5 kB / 0.7916 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-05/1.509, allocations: 23.92 kB / 0.7916 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003139/1.512, allocations: 114.8 kB / 0.7917 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/1.512, allocations: 59.97 kB / 0.7918 GB, free: 8.289 MB / 0.6075 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.001736/1.514, allocations: 429.2 kB / 0.7922 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008997/1.515, allocations: 158.1 kB / 0.7923 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/1.519, allocations: 1.279 MB / 0.7936 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/1.519, allocations: 16 kB / 0.7936 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.519, allocations: 0 / 0.7936 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003049/1.522, allocations: 1.229 MB / 0.7948 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/1.534, allocations: 3.734 MB / 0.7984 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/1.534, allocations: 8 kB / 0.7984 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/1.536, allocations: 248.5 kB / 0.7987 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.033e-05/1.536, allocations: 20 kB / 0.7987 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/1.537, allocations: 36 kB / 0.7987 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.354e-05/1.537, allocations: 27.92 kB / 0.7988 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.92e-05/1.537, allocations: 19.89 kB / 0.7988 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007141/1.544, allocations: 2.768 MB / 0.8015 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/1.546, allocations: 355 kB / 0.8018 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000511/1.547, allocations: 39.98 kB / 0.8018 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002322/1.549, allocations: 90.66 kB / 0.8019 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/1.549, allocations: 104.3 kB / 0.802 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.549, allocations: 51.98 kB / 0.8021 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002369/1.552, allocations: 0.8373 MB / 0.8029 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.61e-07/1.552, allocations: 0 / 0.8029 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00339/1.555, allocations: 440 kB / 0.8033 GB, free: 11.54 MB / 0.6231 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.01001/1.565, allocations: 6.225 MB / 0.8094 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003844/1.569, allocations: 1.216 MB / 0.8106 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-05/1.569, allocations: 0 / 0.8106 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/1.571, allocations: 0.5408 MB / 0.8111 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007971/1.579, allocations: 0.8745 MB / 0.812 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/1.599, allocations: 10.43 MB / 0.8222 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/1.601, allocations: 1.407 MB / 0.8235 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003311/1.605, allocations: 381.3 kB / 0.8239 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/1.606, allocations: 0.6399 MB / 0.8245 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of SimCode: time 5.44e-06/1.606, allocations: 0 / 0.8245 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7222/2.328, allocations: 41.37 MB / 0.8649 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003262/2.329, allocations: 259.5 kB / 0.8652 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.395/7.724, allocations: 0 / 0.8652 GB, free: 217.9 MB / 0.6387 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) Environment - environmentSimulation: