Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_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.004692/0.004692, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001465/0.001465, allocations: 198.6 kB / 16.68 MB, free: 5.973 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9343/0.9343, allocations: 135.6 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 71.88 kB / 0.5858 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3751, allocations: 81.01 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6201/0.9952, allocations: 222.6 MB / 0.8823 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01521/1.01, allocations: 12.1 MB / 0.8941 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/1.013, allocations: 72.72 kB / 0.8941 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/1.014, allocations: 0.8546 MB / 0.895 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006446/1.021, allocations: 2.862 MB / 0.8978 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003154/1.024, allocations: 1.431 MB / 0.8992 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005631/1.03, allocations: 4.44 MB / 0.9035 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0022/1.032, allocations: 1.708 MB / 0.9052 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005325/1.037, allocations: 2.472 MB / 0.9076 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003047/1.04, allocations: 1.553 MB / 0.9091 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003576/1.041, allocations: 179.2 kB / 0.9093 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004124/1.045, allocations: 2.171 MB / 0.9114 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006088/1.045, allocations: 0.6983 MB / 0.9121 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/1.047, allocations: 1.05 MB / 0.9131 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004093/1.051, allocations: 3.345 MB / 0.9164 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/1.051, allocations: 0.8438 kB / 0.9164 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.523e-06/1.051, allocations: 0 / 0.9164 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.494e-05/1.051, allocations: 0.9062 kB / 0.9164 GB, free: 0.8281 MB / 0.6856 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.003041/1.054, allocations: 2.338 MB / 0.9186 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/1.054, allocations: 7.938 kB / 0.9187 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002047/1.054, allocations: 210 kB / 0.9189 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/1.057, allocations: 0.5075 MB / 0.9194 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/1.059, allocations: 1.342 MB / 0.9207 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/1.059, allocations: 107 kB / 0.9208 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/1.059, allocations: 157.4 kB / 0.9209 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/1.061, allocations: 1.755 MB / 0.9226 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/1.061, allocations: 6.609 kB / 0.9226 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/1.062, allocations: 66.97 kB / 0.9227 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-05/1.062, allocations: 56.47 kB / 0.9228 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/1.063, allocations: 1.391 MB / 0.9241 GB, free: 14.77 MB / 0.7012 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.007521/1.071, allocations: 7.286 MB / 0.9312 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/1.072, allocations: 1.02 MB / 0.9322 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007712/1.073, allocations: 0.696 MB / 0.9329 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/1.073, allocations: 119.3 kB / 0.933 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/1.073, allocations: 46.03 kB / 0.9331 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009801/1.074, allocations: 318.8 kB / 0.9334 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=106): time 3.226e-06/1.074, allocations: 0 / 0.9334 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of matching and sorting (n=112): time 0.006986/1.081, allocations: 4.53 MB / 0.9378 GB, free: 8.98 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.614e-05/1.081, allocations: 168.1 kB / 0.9379 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/1.083, allocations: 1.261 MB / 0.9392 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.944e-05/1.083, allocations: 53.27 kB / 0.9392 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/1.083, allocations: 0.7073 MB / 0.9399 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/1.084, allocations: 422.5 kB / 0.9403 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/1.084, allocations: 265.4 kB / 0.9406 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.084, allocations: 356.7 kB / 0.9409 GB, free: 7.727 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007361/1.085, allocations: 0.5238 MB / 0.9414 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/1.086, allocations: 0.8561 MB / 0.9423 GB, free: 7.387 MB / 0.7012 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.009985/1.096, allocations: 4.776 MB / 0.9469 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/1.096, allocations: 11.84 kB / 0.9469 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002405/1.098, allocations: 1.619 MB / 0.9485 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/1.098, allocations: 13.98 kB / 0.9485 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.098, allocations: 8.062 kB / 0.9485 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/1.098, allocations: 17.47 kB / 0.9486 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/1.099, allocations: 298 kB / 0.9488 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/1.099, allocations: 23.61 kB / 0.9489 GB, free: 6.055 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.101, allocations: 48.34 kB / 0.9489 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.101, allocations: 60.69 kB / 0.949 GB, free: 6.02 MB / 0.7012 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.0007083/1.101, allocations: 431 kB / 0.9494 GB, free: 5.766 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/1.102, allocations: 167.5 kB / 0.9495 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/1.104, allocations: 1.289 MB / 0.9508 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/1.104, allocations: 11.31 kB / 0.9508 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.104, allocations: 6.938 kB / 0.9508 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0015/1.105, allocations: 1.241 MB / 0.952 GB, free: 4.363 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005513/1.111, allocations: 3.764 MB / 0.9557 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/1.111, allocations: 11.38 kB / 0.9557 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/1.112, allocations: 257.6 kB / 0.956 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/1.112, allocations: 14.41 kB / 0.956 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.817e-05/1.112, allocations: 35.78 kB / 0.956 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.597e-05/1.112, allocations: 27.27 kB / 0.956 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/1.112, allocations: 16.47 kB / 0.956 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/1.115, allocations: 2.227 MB / 0.9582 GB, free: 232 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006445/1.116, allocations: 366.4 kB / 0.9586 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/1.116, allocations: 39.02 kB / 0.9586 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/1.117, allocations: 47.09 kB / 0.9587 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/1.117, allocations: 102.2 kB / 0.9588 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.171e-05/1.117, allocations: 50.48 kB / 0.9588 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001092/1.118, allocations: 0.8486 MB / 0.9596 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.118, allocations: 6.719 kB / 0.9596 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001307/1.119, allocations: 434.9 kB / 0.9601 GB, free: 15.11 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],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.003682/1.123, allocations: 2.914 MB / 0.9629 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002182/1.125, allocations: 1.25 MB / 0.9641 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.125, allocations: 4 kB / 0.9641 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008282/1.126, allocations: 0.5576 MB / 0.9647 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00402/1.13, allocations: 0.928 MB / 0.9656 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/1.149, allocations: 12.71 MB / 0.978 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.15, allocations: 1.378 MB / 0.9793 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001415/1.151, allocations: 381.3 kB / 0.9797 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009324/1.152, allocations: 0.6438 MB / 0.9803 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of SimCode: time 7.21e-07/1.152, allocations: 0 / 0.9803 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6343/1.786, allocations: 43.3 MB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/17.46, allocations: 14.8 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)