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.001684/0.001684, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001789/0.001789, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.137/2.137, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.394/1.394, allocations: 135.1 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 64.28 kB / 0.505 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2365, allocations: 80.93 MB / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.9191/1.156, allocations: 219.8 MB / 0.7986 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03354/1.189, allocations: 12.03 MB / 0.8103 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004218/1.194, allocations: 67.56 kB / 0.8104 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004367/1.198, allocations: 0.7381 MB / 0.8111 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01465/1.213, allocations: 2.685 MB / 0.8137 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006611/1.219, allocations: 1.3 MB / 0.815 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01033/1.23, allocations: 4.433 MB / 0.8193 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004232/1.234, allocations: 1.686 MB / 0.821 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01033/1.244, allocations: 2.432 MB / 0.8234 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006729/1.251, allocations: 1.641 MB / 0.825 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001147/1.252, allocations: 180 kB / 0.8251 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009785/1.262, allocations: 2.272 MB / 0.8274 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002375/1.264, allocations: 0.7051 MB / 0.8281 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004838/1.269, allocations: 1.038 MB / 0.8291 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01444/1.284, allocations: 3.431 MB / 0.8324 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.237e-05/1.284, allocations: 3.984 kB / 0.8324 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.765e-06/1.284, allocations: 0 / 0.8324 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001152/1.284, allocations: 0 / 0.8324 GB, free: 14.69 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.0102/1.294, allocations: 2.283 MB / 0.8346 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 8.575e-05/1.294, allocations: 8.031 kB / 0.8347 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001016/1.295, allocations: 210.8 kB / 0.8349 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006601/1.302, allocations: 0.4933 MB / 0.8353 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005549/1.308, allocations: 1.251 MB / 0.8366 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/1.308, allocations: 110.8 kB / 0.8367 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007446/1.309, allocations: 156 kB / 0.8368 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006821/1.315, allocations: 1.759 MB / 0.8385 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.299e-05/1.316, allocations: 7.938 kB / 0.8385 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004044/1.316, allocations: 59.94 kB / 0.8386 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/1.316, allocations: 50.55 kB / 0.8386 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005814/1.322, allocations: 1.395 MB / 0.84 GB, free: 6.68 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.01956/1.342, allocations: 7.284 MB / 0.8471 GB, free: 15.02 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/1.345, allocations: 1.019 MB / 0.8481 GB, free: 13.96 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001956/1.347, allocations: 0.6944 MB / 0.8488 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000392/1.347, allocations: 114.1 kB / 0.8489 GB, free: 13.12 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.887e-05/1.347, allocations: 47.56 kB / 0.8489 GB, free: 13.06 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002616/1.35, allocations: 306.8 kB / 0.8492 GB, free: 12.76 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 1.31e-05/1.35, allocations: 4 kB / 0.8492 GB, free: 12.76 MB / 0.67 GB Notification: Performance of matching and sorting (n=112): time 0.01737/1.367, allocations: 4.442 MB / 0.8536 GB, free: 8.246 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/1.367, allocations: 171.3 kB / 0.8537 GB, free: 8.043 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003447/1.371, allocations: 1.263 MB / 0.855 GB, free: 6.77 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002322/1.371, allocations: 49.7 kB / 0.855 GB, free: 6.715 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/1.372, allocations: 0.7007 MB / 0.8557 GB, free: 6.008 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000759/1.373, allocations: 402.1 kB / 0.8561 GB, free: 5.609 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007999/1.374, allocations: 259.4 kB / 0.8563 GB, free: 5.352 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002673/1.374, allocations: 361.9 kB / 0.8567 GB, free: 4.992 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/1.376, allocations: 0.5231 MB / 0.8572 GB, free: 4.469 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/1.378, allocations: 0.8553 MB / 0.858 GB, free: 3.492 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.4989/1.877, allocations: 4.792 MB / 0.8627 GB, free: 219.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/1.877, allocations: 0 / 0.8627 GB, free: 219.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004927/1.882, allocations: 1.613 MB / 0.8643 GB, free: 219.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.173e-05/1.882, allocations: 9.625 kB / 0.8643 GB, free: 219.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-05/1.882, allocations: 11.53 kB / 0.8643 GB, free: 219.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.792e-05/1.882, allocations: 18 kB / 0.8643 GB, free: 219.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/1.884, allocations: 297.7 kB / 0.8646 GB, free: 219.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.012e-05/1.884, allocations: 21.41 kB / 0.8646 GB, free: 219.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/1.887, allocations: 93.7 kB / 0.8647 GB, free: 219.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/1.887, allocations: 59.06 kB / 0.8648 GB, free: 219.3 MB / 0.67 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.001201/1.889, allocations: 428.2 kB / 0.8652 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005627/1.889, allocations: 164.4 kB / 0.8653 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/1.893, allocations: 1.293 MB / 0.8666 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/1.893, allocations: 13.22 kB / 0.8666 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/1.893, allocations: 0 / 0.8666 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00251/1.895, allocations: 1.241 MB / 0.8678 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009983/1.905, allocations: 3.768 MB / 0.8715 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.549e-05/1.905, allocations: 8.25 kB / 0.8715 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/1.907, allocations: 254.1 kB / 0.8718 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-05/1.907, allocations: 13.94 kB / 0.8718 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000171/1.908, allocations: 41.09 kB / 0.8718 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.425e-05/1.908, allocations: 25.36 kB / 0.8718 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-05/1.908, allocations: 15.47 kB / 0.8718 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005164/1.913, allocations: 2.212 MB / 0.874 GB, free: 214.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/1.914, allocations: 359.3 kB / 0.8744 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005813/1.915, allocations: 35.84 kB / 0.8744 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002685/1.918, allocations: 94.89 kB / 0.8745 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/1.918, allocations: 101.8 kB / 0.8746 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/1.918, allocations: 49.05 kB / 0.8746 GB, free: 214.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002429/1.921, allocations: 0.8554 MB / 0.8755 GB, free: 214.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.623e-06/1.921, allocations: 0 / 0.8755 GB, free: 214.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003417/1.924, allocations: 441 kB / 0.8759 GB, free: 214 MB / 0.67 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.006487/1.931, allocations: 2.892 MB / 0.8787 GB, free: 212.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004694/1.935, allocations: 1.434 MB / 0.8801 GB, free: 211.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.353e-05/1.935, allocations: 2.844 kB / 0.8801 GB, free: 211.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/1.937, allocations: 0.5498 MB / 0.8806 GB, free: 211.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009333/1.946, allocations: 0.9407 MB / 0.8816 GB, free: 211.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04237/1.989, allocations: 14.28 MB / 0.8955 GB, free: 202.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/1.991, allocations: 1.376 MB / 0.8968 GB, free: 201.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003768/1.995, allocations: 385.2 kB / 0.8972 GB, free: 201.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/1.997, allocations: 0.6476 MB / 0.8978 GB, free: 201.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.583e-06/1.997, allocations: 4.688 kB / 0.8978 GB, free: 201.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1336/2.13, allocations: 42.73 MB / 0.9396 GB, free: 185.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/2.131, allocations: 278.7 kB / 0.9398 GB, free: 184.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.65/6.78, allocations: 1.875 kB / 0.9398 GB, free: 184.9 MB / 0.67 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)