Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_dev_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.0144/0.0144, allocations: 169.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.264/1.264, allocations: 135.2 MB / 151 MB, free: 13.86 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.88/2.88, allocations: 223.2 MB / 406.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 102.1 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007877/0.0007876, allocations: 12 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9929/0.9938, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.063/10.06, allocations: 1.882 GB / 2.532 GB, free: 55.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/10.06, allocations: 95.72 kB / 2.532 GB, free: 55.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.256/13.31, allocations: 464.8 MB / 2.986 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.268e-06/13.31, allocations: 4 kB / 2.986 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001257/13.31, allocations: 27.98 kB / 2.986 GB, free: 127.4 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.005301/13.32, allocations: 1.385 MB / 2.987 GB, free: 126 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.307e-05/13.32, allocations: 16.03 kB / 2.987 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004216/13.32, allocations: 139.3 kB / 2.987 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003548/13.32, allocations: 306.3 kB / 2.988 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/13.33, allocations: 0.844 MB / 2.989 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.474e-05/13.33, allocations: 69.94 kB / 2.989 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002737/13.33, allocations: 84 kB / 2.989 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/13.33, allocations: 0.9859 MB / 2.99 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/13.33, allocations: 4 kB / 2.99 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/13.33, allocations: 36 kB / 2.99 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.765e-05/13.33, allocations: 33.94 kB / 2.99 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/13.33, allocations: 0.8081 MB / 2.99 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/13.34, allocations: 3.466 MB / 2.994 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/13.34, allocations: 486.8 kB / 2.994 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/13.34, allocations: 105.5 kB / 2.994 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/13.34, allocations: 39 kB / 2.994 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 6.171e-06/13.34, allocations: 0 / 2.994 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.006804/13.35, allocations: 1.841 MB / 2.996 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/13.35, allocations: 59.8 kB / 2.996 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/13.35, allocations: 0.7113 MB / 2.997 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/13.35, allocations: 37.7 kB / 2.997 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/13.35, allocations: 475.3 kB / 2.998 GB, free: 115 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/13.35, allocations: 177.5 kB / 2.998 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/13.35, allocations: 12 kB / 2.998 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001502/13.35, allocations: 326 kB / 2.998 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007279/13.36, allocations: 237.2 kB / 2.998 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008022/13.36, allocations: 378.4 kB / 2.999 GB, free: 113.8 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.004567/13.36, allocations: 0.9706 MB / 3 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/13.36, allocations: 4 kB / 3 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002474/13.36, allocations: 0.7727 MB / 3 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/13.36, allocations: 4.406 kB / 3 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/13.36, allocations: 8 kB / 3 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002658/13.36, allocations: 53.69 kB / 3 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/13.36, allocations: 135.8 kB / 3 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/13.37, allocations: 2.807 MB / 3.003 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/13.37, allocations: 59.98 kB / 3.003 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/13.37, allocations: 24 kB / 3.003 GB, free: 108.7 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 () * Number of clocked 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.001358/13.37, allocations: 301.6 kB / 3.004 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/13.37, allocations: 94.81 kB / 3.004 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/13.37, allocations: 100.7 kB / 3.004 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/13.37, allocations: 4 kB / 3.004 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/13.37, allocations: 7.953 kB / 3.004 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00168/13.37, allocations: 0.8154 MB / 3.005 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005036/13.38, allocations: 1.738 MB / 3.006 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/13.38, allocations: 4 kB / 3.006 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008929/13.38, allocations: 108.3 kB / 3.006 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001692/13.38, allocations: 40.84 kB / 3.006 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.754e-05/13.38, allocations: 15.94 kB / 3.006 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/13.38, allocations: 1.429 MB / 3.008 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/13.38, allocations: 64 / 3.008 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/13.39, allocations: 1.203 MB / 3.009 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/13.39, allocations: 232 kB / 3.009 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005/13.39, allocations: 15.98 kB / 3.009 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/13.39, allocations: 63.92 kB / 3.009 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/13.39, allocations: 43.84 kB / 3.009 GB, free: 102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/13.39, allocations: 27.98 kB / 3.009 GB, free: 102 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001938/13.39, allocations: 0.5536 MB / 3.01 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.9e-07/13.39, allocations: 4 kB / 3.01 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003627/13.4, allocations: 391.9 kB / 3.01 GB, free: 101 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 () * Number of clocked 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.008004/13.4, allocations: 3.807 MB / 3.014 GB, free: 97.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003075/13.41, allocations: 0.7864 MB / 3.015 GB, free: 96.28 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/13.41, allocations: 4 kB / 3.015 GB, free: 96.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/13.41, allocations: 387.3 kB / 3.015 GB, free: 95.88 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006387/13.41, allocations: 0.5646 MB / 3.016 GB, free: 95.33 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02264/13.44, allocations: 7.316 MB / 3.023 GB, free: 87.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/13.44, allocations: 1.107 MB / 3.024 GB, free: 86.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002456/13.44, allocations: 211.7 kB / 3.024 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/13.44, allocations: 347.3 kB / 3.024 GB, free: 86.08 MB / 0.6823 GB Notification: Performance of SimCode: time 2.896e-06/13.44, allocations: 0 / 3.024 GB, free: 86.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1272/13.57, allocations: 46 MB / 3.069 GB, free: 40.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/13.57, allocations: 261.3 kB / 3.07 GB, free: 40.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.945/19.51, allocations: 7.094 kB / 3.07 GB, free: 40.11 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)