Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7039/0.7039, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008591/0.0008593, allocations: 93.41 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.415e-05, allocations: 4.406 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1817, allocations: 82.3 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.442/5.624, allocations: 1.882 GB / 2.523 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/5.624, allocations: 88.52 kB / 2.523 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.09/7.714, allocations: 464.4 MB / 2.976 GB, free: 93.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.102e-06/7.714, allocations: 0 / 2.976 GB, free: 93.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001344/7.714, allocations: 28 kB / 2.976 GB, free: 93.31 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003718/7.718, allocations: 1.25 MB / 2.978 GB, free: 92.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/7.718, allocations: 15.97 kB / 2.978 GB, free: 92 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000461/7.719, allocations: 135.3 kB / 2.978 GB, free: 91.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/7.721, allocations: 314.3 kB / 2.978 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/7.723, allocations: 0.8479 MB / 2.979 GB, free: 90.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/7.724, allocations: 62 kB / 2.979 GB, free: 90.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/7.724, allocations: 92 kB / 2.979 GB, free: 90.51 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/7.726, allocations: 0.9509 MB / 2.98 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/7.726, allocations: 0 / 2.98 GB, free: 89.54 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/7.726, allocations: 36 kB / 2.98 GB, free: 89.51 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/7.726, allocations: 30 kB / 2.98 GB, free: 89.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/7.727, allocations: 0.7614 MB / 2.981 GB, free: 88.72 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00534/7.733, allocations: 3.466 MB / 2.984 GB, free: 85.03 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005955/7.733, allocations: 457.1 kB / 2.985 GB, free: 84.58 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/7.734, allocations: 271.3 kB / 2.985 GB, free: 84.31 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/7.734, allocations: 97.53 kB / 2.985 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/7.734, allocations: 50.94 kB / 2.985 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.537e-06/7.734, allocations: 4 kB / 2.985 GB, free: 84.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.002789/7.737, allocations: 1.383 MB / 2.986 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/7.737, allocations: 67.77 kB / 2.986 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007704/7.738, allocations: 0.6958 MB / 2.987 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/7.738, allocations: 37.7 kB / 2.987 GB, free: 81.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/7.738, allocations: 483.2 kB / 2.988 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/7.738, allocations: 173.5 kB / 2.988 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/7.738, allocations: 12 kB / 2.988 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.598e-05/7.738, allocations: 337.9 kB / 2.988 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/7.738, allocations: 217.4 kB / 2.988 GB, free: 80.65 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/7.739, allocations: 359.7 kB / 2.989 GB, free: 80.25 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/7.741, allocations: 0.9272 MB / 2.99 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/7.741, allocations: 8 kB / 2.99 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001046/7.742, allocations: 0.7376 MB / 2.99 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/7.742, allocations: 4.406 kB / 2.99 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/7.742, allocations: 4 kB / 2.99 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/7.742, allocations: 69.58 kB / 2.99 GB, free: 78.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/7.743, allocations: 135.8 kB / 2.99 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/7.745, allocations: 2.764 MB / 2.993 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/7.746, allocations: 63.86 kB / 2.993 GB, free: 75.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/7.746, allocations: 31.98 kB / 2.993 GB, free: 75.2 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002019/7.746, allocations: 136.9 kB / 2.993 GB, free: 75.06 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/7.746, allocations: 90.97 kB / 2.993 GB, free: 74.97 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/7.746, allocations: 104.4 kB / 2.994 GB, free: 74.87 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/7.746, allocations: 8 kB / 2.994 GB, free: 74.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/7.746, allocations: 0 / 2.994 GB, free: 74.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008003/7.747, allocations: 0.7842 MB / 2.994 GB, free: 73.99 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/7.75, allocations: 1.7 MB / 2.996 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/7.75, allocations: 7.984 kB / 2.996 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000493/7.75, allocations: 108.2 kB / 2.996 GB, free: 72.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/7.751, allocations: 44.83 kB / 2.996 GB, free: 72.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/7.751, allocations: 12 kB / 2.996 GB, free: 72.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/7.752, allocations: 1.406 MB / 2.998 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/7.752, allocations: 8.062 kB / 2.998 GB, free: 70.47 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/7.753, allocations: 1.16 MB / 2.999 GB, free: 69.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004768/7.753, allocations: 232 kB / 2.999 GB, free: 68.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/7.754, allocations: 16.14 kB / 2.999 GB, free: 68.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007479/7.754, allocations: 55.92 kB / 2.999 GB, free: 68.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/7.754, allocations: 43.89 kB / 2.999 GB, free: 68.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/7.754, allocations: 27.98 kB / 2.999 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007028/7.755, allocations: 0.5537 MB / 3 GB, free: 68.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.71e-07/7.755, allocations: 0 / 3 GB, free: 68.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001386/7.757, allocations: 399.9 kB / 3 GB, free: 67.84 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003238/7.76, allocations: 3.746 MB / 3.004 GB, free: 63.95 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001059/7.761, allocations: 0.7414 MB / 3.004 GB, free: 63.19 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/7.761, allocations: 3.938 kB / 3.004 GB, free: 63.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003801/7.761, allocations: 367.8 kB / 3.005 GB, free: 62.81 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/7.764, allocations: 0.5557 MB / 3.005 GB, free: 62.26 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/7.767, allocations: 1.605 MB / 3.007 GB, free: 60.56 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/7.768, allocations: 1.107 MB / 3.008 GB, free: 59.43 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001039/7.769, allocations: 211.7 kB / 3.008 GB, free: 59.21 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000513/7.77, allocations: 355.2 kB / 3.008 GB, free: 58.87 MB / 0.6823 GB Notification: Performance of SimCode: time 1.523e-06/7.77, allocations: 0 / 3.008 GB, free: 58.87 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08188/7.852, allocations: 49.25 MB / 3.057 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/7.852, allocations: 235.3 kB / 3.057 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.568/11.42, allocations: 0 / 3.057 GB, free: 9.645 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)