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.001186/0.001186, allocations: 100.1 kB / 15.88 MB, free: 12 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.001217/0.001217, allocations: 207 kB / 16.79 MB, free: 6.84 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.252/1.252, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6361/0.6361, allocations: 115.3 MB / 405.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 64.03 kB / 493 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1301, allocations: 76.19 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4536/0.5838, allocations: 220.3 MB / 0.771 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.6003, allocations: 12.2 MB / 0.7829 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.6026, allocations: 67.56 kB / 0.783 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.6045, allocations: 0.7109 MB / 0.7837 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00587/0.6104, allocations: 2.701 MB / 0.7863 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.6135, allocations: 1.283 MB / 0.7876 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005841/0.6194, allocations: 6.088 MB / 0.7935 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.6212, allocations: 1.501 MB / 0.795 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004884/0.6261, allocations: 2.203 MB / 0.7971 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003246/0.6293, allocations: 1.62 MB / 0.7987 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002988/0.6296, allocations: 100 kB / 0.7988 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004827/0.6345, allocations: 2.463 MB / 0.8012 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007251/0.6352, allocations: 0.6231 MB / 0.8018 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.6366, allocations: 0.9677 MB / 0.8028 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004461/0.641, allocations: 3.342 MB / 0.806 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6411, allocations: 4 kB / 0.806 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.01e-07/0.6411, allocations: 7.938 kB / 0.806 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.968e-05/0.6411, allocations: 0 / 0.806 GB, free: 6.434 MB / 0.6231 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.003453/0.6446, allocations: 2.28 MB / 0.8083 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.6446, allocations: 19.97 kB / 0.8083 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000235/0.6449, allocations: 206.8 kB / 0.8085 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/0.6479, allocations: 0.4933 MB / 0.809 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.6497, allocations: 1.251 MB / 0.8102 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.678e-05/0.6498, allocations: 110.8 kB / 0.8103 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.65, allocations: 151.9 kB / 0.8104 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.6524, allocations: 1.757 MB / 0.8121 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.6525, allocations: 3.938 kB / 0.8122 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.6526, allocations: 60 kB / 0.8122 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.549e-05/0.6527, allocations: 58.53 kB / 0.8123 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.6546, allocations: 1.407 MB / 0.8136 GB, free: 14.4 MB / 0.6387 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.007245/0.6619, allocations: 7.295 MB / 0.8208 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.6634, allocations: 1.048 MB / 0.8218 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008732/0.6643, allocations: 0.6945 MB / 0.8225 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.6645, allocations: 110.1 kB / 0.8226 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.6645, allocations: 59.48 kB / 0.8226 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001012/0.6656, allocations: 298.7 kB / 0.8229 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=106): time 4.298e-06/0.6656, allocations: 3.938 kB / 0.8229 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112): time 0.2612/0.9268, allocations: 4.415 MB / 0.8272 GB, free: 234.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.9269, allocations: 166.9 kB / 0.8274 GB, free: 234 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.9287, allocations: 1.263 MB / 0.8286 GB, free: 233.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000248/0.929, allocations: 53.14 kB / 0.8287 GB, free: 233.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.9294, allocations: 0.7029 MB / 0.8294 GB, free: 233.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.9297, allocations: 400.2 kB / 0.8297 GB, free: 233.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/0.9301, allocations: 262.6 kB / 0.83 GB, free: 233.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.9302, allocations: 356.1 kB / 0.8303 GB, free: 233 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008143/0.931, allocations: 0.5183 MB / 0.8308 GB, free: 232.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009792/0.932, allocations: 0.8478 MB / 0.8317 GB, free: 232.3 MB / 0.6387 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.01132/0.9433, allocations: 4.744 MB / 0.8363 GB, free: 230.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.9433, allocations: 1.719 kB / 0.8363 GB, free: 230.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002459/0.9458, allocations: 1.607 MB / 0.8379 GB, free: 229.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.9458, allocations: 12.16 kB / 0.8379 GB, free: 229.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.9459, allocations: 9.906 kB / 0.8379 GB, free: 229.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/0.9459, allocations: 14.72 kB / 0.8379 GB, free: 229.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.947, allocations: 286.8 kB / 0.8382 GB, free: 229.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-05/0.9471, allocations: 23.39 kB / 0.8382 GB, free: 229.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.9485, allocations: 117.5 kB / 0.8383 GB, free: 229.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.9486, allocations: 57.62 kB / 0.8384 GB, free: 229.6 MB / 0.6387 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.0006867/0.9493, allocations: 429.7 kB / 0.8388 GB, free: 229.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.9496, allocations: 163.4 kB / 0.8389 GB, free: 229.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.9517, allocations: 1.274 MB / 0.8402 GB, free: 228.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.9517, allocations: 15.25 kB / 0.8402 GB, free: 228.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.9517, allocations: 2.938 kB / 0.8402 GB, free: 228.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001636/0.9533, allocations: 1.229 MB / 0.8414 GB, free: 228.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005136/0.9585, allocations: 3.745 MB / 0.845 GB, free: 226 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.9585, allocations: 10.81 kB / 0.8451 GB, free: 226 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.9596, allocations: 245.9 kB / 0.8453 GB, free: 226 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.105e-05/0.9597, allocations: 17.34 kB / 0.8453 GB, free: 226 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.101e-05/0.9598, allocations: 38.45 kB / 0.8453 GB, free: 226 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.667e-05/0.9598, allocations: 20.3 kB / 0.8454 GB, free: 226 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/0.9598, allocations: 16.42 kB / 0.8454 GB, free: 226 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.9623, allocations: 2.111 MB / 0.8474 GB, free: 224.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005757/0.9629, allocations: 356.3 kB / 0.8478 GB, free: 224.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.9631, allocations: 40.67 kB / 0.8478 GB, free: 224.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.9642, allocations: 94.39 kB / 0.8479 GB, free: 224.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.9643, allocations: 98.19 kB / 0.848 GB, free: 224.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.563e-05/0.9644, allocations: 50.95 kB / 0.8481 GB, free: 224.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001081/0.9655, allocations: 0.8528 MB / 0.8489 GB, free: 224.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9655, allocations: 0 / 0.8489 GB, free: 224.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001301/0.9668, allocations: 436.5 kB / 0.8493 GB, free: 224.1 MB / 0.6387 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.002921/0.9698, allocations: 2.775 MB / 0.852 GB, free: 222.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001909/0.9717, allocations: 1.213 MB / 0.8532 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.9717, allocations: 2.75 kB / 0.8532 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007269/0.9724, allocations: 0.5399 MB / 0.8537 GB, free: 221.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003815/0.9763, allocations: 0.8929 MB / 0.8546 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/0.9918, allocations: 14.26 MB / 0.8685 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.9924, allocations: 1.372 MB / 0.8699 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001393/0.9938, allocations: 381.8 kB / 0.8702 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006528/0.9945, allocations: 0.6418 MB / 0.8709 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of SimCode: time 8.01e-07/0.9945, allocations: 4 kB / 0.8709 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04952/1.044, allocations: 41.24 MB / 0.9111 GB, free: 170 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/1.044, allocations: 280 kB / 0.9114 GB, free: 169.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.607, allocations: 3.375 kB / 0.9114 GB, free: 169.7 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/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)