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.001004/0.001004, allocations: 102.6 kB / 15.98 MB, free: 6.332 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.0009134/0.0009134, allocations: 198.9 kB / 16.91 MB, free: 6.18 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.24/1.24, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6846/0.6846, allocations: 115.3 MB / 406.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.91 kB / 493.2 MB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3062, allocations: 76.17 MB / 0.556 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.491/0.7973, allocations: 219.8 MB / 0.7706 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01464/0.8119, allocations: 12.05 MB / 0.7824 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.8139, allocations: 67.12 kB / 0.7825 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.816, allocations: 0.7461 MB / 0.7832 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006161/0.8222, allocations: 2.682 MB / 0.7858 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.8252, allocations: 1.301 MB / 0.7871 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00535/0.8305, allocations: 4.453 MB / 0.7914 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.8325, allocations: 1.685 MB / 0.7931 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004354/0.8369, allocations: 2.45 MB / 0.7955 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002413/0.8393, allocations: 1.643 MB / 0.7971 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.8395, allocations: 182.7 kB / 0.7972 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.8429, allocations: 2.273 MB / 0.7995 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004927/0.8434, allocations: 0.7075 MB / 0.8002 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007829/0.8442, allocations: 1.051 MB / 0.8012 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.8474, allocations: 3.421 MB / 0.8045 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.8474, allocations: 3.188 kB / 0.8045 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8474, allocations: 4.047 kB / 0.8045 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.326e-05/0.8474, allocations: 0 / 0.8045 GB, free: 16.55 MB / 0.5919 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.003116/0.8506, allocations: 2.281 MB / 0.8068 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.8506, allocations: 9.5 kB / 0.8068 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002214/0.8508, allocations: 206 kB / 0.807 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.8536, allocations: 0.4951 MB / 0.8074 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.8553, allocations: 1.257 MB / 0.8087 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.8554, allocations: 110 kB / 0.8088 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.8555, allocations: 151.3 kB / 0.8089 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.8578, allocations: 1.761 MB / 0.8106 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.8579, allocations: 5.406 kB / 0.8106 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.858, allocations: 61.12 kB / 0.8107 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/0.8581, allocations: 50.27 kB / 0.8108 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.86, allocations: 1.401 MB / 0.8121 GB, free: 14.57 MB / 0.5919 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.007021/0.8671, allocations: 7.301 MB / 0.8193 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.8688, allocations: 1.055 MB / 0.8203 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009379/0.8698, allocations: 0.6958 MB / 0.821 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/0.87, allocations: 117.5 kB / 0.8211 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.8701, allocations: 56.23 kB / 0.8211 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001112/0.8712, allocations: 316.6 kB / 0.8214 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 2.645e-06/0.8712, allocations: 2.531 kB / 0.8214 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=112): time 0.007245/0.8784, allocations: 4.435 MB / 0.8258 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/0.8785, allocations: 167.2 kB / 0.8259 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.88, allocations: 1.263 MB / 0.8272 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.8801, allocations: 47.8 kB / 0.8272 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/0.8806, allocations: 0.707 MB / 0.8279 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.8809, allocations: 396.2 kB / 0.8283 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/0.8813, allocations: 264 kB / 0.8285 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8815, allocations: 365 kB / 0.8289 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007802/0.8822, allocations: 0.5296 MB / 0.8294 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.8833, allocations: 0.8649 MB / 0.8302 GB, free: 5.047 MB / 0.5919 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.01093/0.8942, allocations: 4.81 MB / 0.8349 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.8942, allocations: 2.75 kB / 0.8349 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002338/0.8966, allocations: 1.613 MB / 0.8365 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.8966, allocations: 8 kB / 0.8365 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.8966, allocations: 8.906 kB / 0.8365 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.8966, allocations: 12 kB / 0.8365 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.8978, allocations: 304.1 kB / 0.8368 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-05/0.8978, allocations: 22.61 kB / 0.8368 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.8991, allocations: 105.8 kB / 0.8369 GB, free: 428 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.8993, allocations: 63.97 kB / 0.837 GB, free: 364 kB / 0.5919 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.0006384/0.8999, allocations: 434.7 kB / 0.8374 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.9002, allocations: 158.1 kB / 0.8376 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.9022, allocations: 1.293 MB / 0.8388 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.9022, allocations: 15.98 kB / 0.8388 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.9023, allocations: 4 kB / 0.8389 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001473/0.9037, allocations: 1.237 MB / 0.8401 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005346/0.9091, allocations: 3.758 MB / 0.8437 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.9091, allocations: 8 kB / 0.8437 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.9102, allocations: 247.2 kB / 0.844 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/0.9102, allocations: 16 kB / 0.844 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.699e-05/0.9103, allocations: 39.98 kB / 0.844 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.105e-05/0.9104, allocations: 21.16 kB / 0.844 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.9104, allocations: 13.44 kB / 0.8441 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.9129, allocations: 2.136 MB / 0.8461 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005366/0.9135, allocations: 361.4 kB / 0.8465 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.9137, allocations: 35.98 kB / 0.8465 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.9149, allocations: 101.6 kB / 0.8466 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.915, allocations: 100.1 kB / 0.8467 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/0.9151, allocations: 55.98 kB / 0.8468 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001008/0.9161, allocations: 0.8529 MB / 0.8476 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9161, allocations: 0 / 0.8476 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00118/0.9173, allocations: 432 kB / 0.848 GB, free: 4.785 MB / 0.6075 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.003105/0.9204, allocations: 2.806 MB / 0.8508 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002222/0.9227, allocations: 1.422 MB / 0.8521 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.9227, allocations: 5.875 kB / 0.8521 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007123/0.9234, allocations: 0.5512 MB / 0.8527 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/0.9271, allocations: 0.9345 MB / 0.8536 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/0.9459, allocations: 14.3 MB / 0.8676 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009965/0.9469, allocations: 1.372 MB / 0.8689 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001384/0.9483, allocations: 385.3 kB / 0.8693 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008666/0.9492, allocations: 0.6399 MB / 0.8699 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/0.9492, allocations: 0 / 0.8699 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.934/3.883, allocations: 42.69 MB / 0.9116 GB, free: 3.441 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/3.883, allocations: 286.9 kB / 0.9119 GB, free: 3.055 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.613/7.497, allocations: 3.938 kB / 0.9119 GB, free: 3.051 MB / 0.67 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/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)