Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_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.008465/0.008465, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001894/0.001894, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.237/2.237, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.201/1.201, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 63.34 kB / 0.5809 GB, free: 1.066 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2754, allocations: 80.21 MB / 0.6592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 1.153/1.428, allocations: 222.6 MB / 0.8766 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0361/1.465, allocations: 12.1 MB / 0.8884 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005666/1.47, allocations: 81.12 kB / 0.8885 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004482/1.475, allocations: 0.8501 MB / 0.8893 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01455/1.49, allocations: 2.86 MB / 0.8921 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007827/1.497, allocations: 1.437 MB / 0.8935 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01095/1.508, allocations: 4.425 MB / 0.8978 GB, free: 24 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005735/1.514, allocations: 1.714 MB / 0.8995 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01294/1.527, allocations: 2.494 MB / 0.9019 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005791/1.533, allocations: 1.553 MB / 0.9034 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001332/1.534, allocations: 176.6 kB / 0.9036 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007859/1.542, allocations: 2.167 MB / 0.9057 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002247/1.545, allocations: 0.703 MB / 0.9064 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004874/1.549, allocations: 1.045 MB / 0.9074 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01301/1.563, allocations: 3.334 MB / 0.9107 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/1.563, allocations: 3.938 kB / 0.9107 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.486e-06/1.563, allocations: 0 / 0.9107 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000165/1.563, allocations: 2.281 kB / 0.9107 GB, free: 10.91 MB / 0.6544 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.008889/1.572, allocations: 2.283 MB / 0.9129 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.763e-05/1.572, allocations: 10.19 kB / 0.9129 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005054/1.572, allocations: 205.8 kB / 0.9131 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005529/1.578, allocations: 0.5007 MB / 0.9136 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005503/1.583, allocations: 1.335 MB / 0.9149 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/1.584, allocations: 106 kB / 0.915 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004682/1.584, allocations: 149 kB / 0.9152 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004828/1.589, allocations: 1.759 MB / 0.9169 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/1.589, allocations: 5.125 kB / 0.9169 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/1.589, allocations: 60.16 kB / 0.9169 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.146e-05/1.589, allocations: 60.5 kB / 0.917 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003693/1.593, allocations: 1.394 MB / 0.9184 GB, free: 5.996 MB / 0.6544 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.01745/1.611, allocations: 7.27 MB / 0.9255 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/1.614, allocations: 1.033 MB / 0.9265 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/1.616, allocations: 0.6867 MB / 0.9271 GB, free: 13.12 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004088/1.616, allocations: 124 kB / 0.9273 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.165e-05/1.616, allocations: 50.09 kB / 0.9273 GB, free: 12.93 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002567/1.619, allocations: 305.9 kB / 0.9276 GB, free: 12.63 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 1.22e-05/1.619, allocations: 0 / 0.9276 GB, free: 12.63 MB / 0.67 GB Notification: Performance of matching and sorting (n=112): time 0.02205/1.641, allocations: 4.423 MB / 0.9319 GB, free: 8.145 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/1.641, allocations: 173.8 kB / 0.9321 GB, free: 7.938 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003594/1.645, allocations: 1.263 MB / 0.9333 GB, free: 6.664 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000458/1.645, allocations: 49.7 kB / 0.9334 GB, free: 6.609 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/1.647, allocations: 0.7062 MB / 0.9341 GB, free: 5.902 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001098/1.648, allocations: 398.8 kB / 0.9344 GB, free: 5.516 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/1.649, allocations: 263.4 kB / 0.9347 GB, free: 5.254 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0003235/1.649, allocations: 365.8 kB / 0.935 GB, free: 4.891 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/1.651, allocations: 0.5192 MB / 0.9355 GB, free: 4.371 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/1.654, allocations: 0.8529 MB / 0.9364 GB, free: 3.398 MB / 0.67 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.01942/1.673, allocations: 4.786 MB / 0.9411 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/1.673, allocations: 2.625 kB / 0.9411 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004676/1.678, allocations: 1.62 MB / 0.9426 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/1.678, allocations: 8 kB / 0.9426 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/1.678, allocations: 8.844 kB / 0.9427 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.328e-05/1.678, allocations: 16 kB / 0.9427 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/1.679, allocations: 289.7 kB / 0.9429 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.529e-05/1.68, allocations: 21.06 kB / 0.943 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/1.682, allocations: 53.47 kB / 0.943 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/1.682, allocations: 64.77 kB / 0.9431 GB, free: 12.48 MB / 0.6856 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.001345/1.684, allocations: 424.8 kB / 0.9435 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009416/1.685, allocations: 162 kB / 0.9436 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/1.688, allocations: 1.289 MB / 0.9449 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/1.688, allocations: 16 kB / 0.9449 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.688, allocations: 3.984 kB / 0.9449 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00265/1.691, allocations: 1.243 MB / 0.9461 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/1.702, allocations: 3.756 MB / 0.9498 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-05/1.702, allocations: 12 kB / 0.9498 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002089/1.704, allocations: 252 kB / 0.95 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-05/1.704, allocations: 16 kB / 0.9501 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/1.704, allocations: 43.98 kB / 0.9501 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.82e-05/1.704, allocations: 17.06 kB / 0.9501 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.761e-05/1.704, allocations: 18.56 kB / 0.9501 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005492/1.71, allocations: 2.222 MB / 0.9523 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/1.711, allocations: 359 kB / 0.9527 GB, free: 2.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00074/1.712, allocations: 36 kB / 0.9527 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002545/1.714, allocations: 51.92 kB / 0.9527 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/1.715, allocations: 101.8 kB / 0.9528 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/1.715, allocations: 59.97 kB / 0.9529 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002472/1.718, allocations: 0.8529 MB / 0.9537 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.91e-07/1.718, allocations: 0 / 0.9537 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003119/1.721, allocations: 436 kB / 0.9541 GB, free: 0.8555 MB / 0.6856 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.006309/1.727, allocations: 2.887 MB / 0.957 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003197/1.73, allocations: 1.257 MB / 0.9582 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.995e-05/1.73, allocations: 4.562 kB / 0.9582 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/1.731, allocations: 0.5495 MB / 0.9587 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007774/1.739, allocations: 0.935 MB / 0.9596 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03964/1.779, allocations: 12.66 MB / 0.972 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002251/1.781, allocations: 1.376 MB / 0.9733 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003574/1.785, allocations: 381.3 kB / 0.9737 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002167/1.787, allocations: 0.6399 MB / 0.9743 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of SimCode: time 3.166e-06/1.787, allocations: 0 / 0.9743 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/1.899, allocations: 44.07 MB / 1.017 GB, free: 144 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.87/26.77, allocations: 13.95 kB / 1.017 GB, free: 136 kB / 0.7481 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)