Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.001611/0.00161, allocations: 172.4 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.895/0.895, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0009324/0.0009324, allocations: 103.8 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.195e-05, allocations: 4 kB / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5295, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.152/5.681, allocations: 1.892 GB / 2.526 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/5.682, allocations: 87.95 kB / 2.526 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.84/9.522, allocations: 1.147 GB / 3.673 GB, free: 46.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/9.522, allocations: 0 / 3.673 GB, free: 46.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001382/9.522, allocations: 31.98 kB / 3.673 GB, free: 46.94 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.003327/9.525, allocations: 1.519 MB / 3.675 GB, free: 45.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/9.525, allocations: 8.031 kB / 3.675 GB, free: 45.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/9.528, allocations: 417.9 kB / 3.675 GB, free: 44.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/9.53, allocations: 1.186 MB / 3.676 GB, free: 43.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009244/9.531, allocations: 233.8 kB / 3.676 GB, free: 43.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002772/9.532, allocations: 55.94 kB / 3.677 GB, free: 43.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001321/9.533, allocations: 0.6209 MB / 3.677 GB, free: 42.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/9.534, allocations: 0.9757 MB / 3.678 GB, free: 41.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/9.534, allocations: 7.938 kB / 3.678 GB, free: 41.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.37e-05/9.534, allocations: 4 kB / 3.678 GB, free: 41.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/9.535, allocations: 29.31 kB / 3.678 GB, free: 41.7 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.005956/9.541, allocations: 5.412 MB / 3.683 GB, free: 36.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/9.541, allocations: 239.7 kB / 3.684 GB, free: 35.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/9.541, allocations: 140.3 kB / 3.684 GB, free: 35.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/9.541, allocations: 97.09 kB / 3.684 GB, free: 35.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/9.541, allocations: 46.41 kB / 3.684 GB, free: 35.41 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007766/9.542, allocations: 83.64 kB / 3.684 GB, free: 35.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 3.016e-06/9.542, allocations: 0 / 3.684 GB, free: 35.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0006634/9.543, allocations: 300.4 kB / 3.684 GB, free: 35.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/9.543, allocations: 187.9 kB / 3.684 GB, free: 34.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/9.544, allocations: 0.745 MB / 3.685 GB, free: 34.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/9.544, allocations: 25.7 kB / 3.685 GB, free: 34.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/9.544, allocations: 0.6342 MB / 3.686 GB, free: 33.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/9.544, allocations: 75 kB / 3.686 GB, free: 33.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/9.544, allocations: 4.125 kB / 3.686 GB, free: 33.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.306e-05/9.544, allocations: 322 kB / 3.686 GB, free: 32.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/9.544, allocations: 133.1 kB / 3.686 GB, free: 32.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/9.545, allocations: 447.9 kB / 3.687 GB, free: 32.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/9.545, allocations: 223.7 kB / 3.687 GB, free: 32.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/9.545, allocations: 7.938 kB / 3.687 GB, free: 32.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008093/9.546, allocations: 0.5956 MB / 3.688 GB, free: 31.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/9.546, allocations: 8 kB / 3.688 GB, free: 31.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/9.546, allocations: 8 kB / 3.688 GB, free: 31.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/9.546, allocations: 16 kB / 3.688 GB, free: 31.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/9.546, allocations: 176.4 kB / 3.688 GB, free: 31.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/9.546, allocations: 23.92 kB / 3.688 GB, free: 31.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/9.548, allocations: 191.7 kB / 3.688 GB, free: 31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/9.548, allocations: 39.97 kB / 3.688 GB, free: 30.96 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/9.548, allocations: 120.8 kB / 3.688 GB, free: 30.84 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004128/9.548, allocations: 296.5 kB / 3.688 GB, free: 30.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/9.548, allocations: 98.78 kB / 3.688 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/9.549, allocations: 241 kB / 3.689 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/9.549, allocations: 7.953 kB / 3.689 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/9.549, allocations: 4 kB / 3.689 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/9.549, allocations: 3.984 kB / 3.689 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/9.551, allocations: 1.498 MB / 3.69 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/9.551, allocations: 3.984 kB / 3.69 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/9.551, allocations: 43.86 kB / 3.69 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/9.551, allocations: 4 kB / 3.69 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/9.551, allocations: 4 kB / 3.69 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/9.551, allocations: 7.938 kB / 3.69 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/9.551, allocations: 4 kB / 3.69 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/9.551, allocations: 0.5885 MB / 3.691 GB, free: 27.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/9.551, allocations: 199.9 kB / 3.691 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/9.552, allocations: 7.984 kB / 3.691 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/9.552, allocations: 83.84 kB / 3.691 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/9.552, allocations: 19.88 kB / 3.691 GB, free: 27.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/9.552, allocations: 16 kB / 3.691 GB, free: 27.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005302/9.553, allocations: 0.5608 MB / 3.692 GB, free: 26.92 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/9.553, allocations: 3.938 kB / 3.692 GB, free: 26.92 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001311/9.554, allocations: 443.1 kB / 3.692 GB, free: 26.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003305/9.557, allocations: 4.424 MB / 3.696 GB, free: 21.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000508/9.558, allocations: 318.6 kB / 3.697 GB, free: 21.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/9.558, allocations: 0 / 3.697 GB, free: 21.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/9.558, allocations: 91.83 kB / 3.697 GB, free: 21.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/9.56, allocations: 407.9 kB / 3.697 GB, free: 20.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/9.562, allocations: 1.414 MB / 3.699 GB, free: 19.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/9.563, allocations: 1.136 MB / 3.7 GB, free: 18.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006745/9.563, allocations: 191.3 kB / 3.7 GB, free: 18.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/9.564, allocations: 399.3 kB / 3.7 GB, free: 17.73 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/9.564, allocations: 0 / 3.7 GB, free: 17.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5616/10.13, allocations: 37.97 MB / 3.737 GB, free: 104.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/10.13, allocations: 197.8 kB / 3.738 GB, free: 104 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.288/13.41, allocations: 0 / 3.738 GB, free: 104 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)