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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.002475/0.002475, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.846/2.846, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.748/1.748, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005978/0.0005987, allocations: 8.781 kB / 0.5069 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3599, allocations: 82.31 MB / 0.5873 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 1.179/1.539, allocations: 182.1 MB / 0.7651 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02064/1.56, allocations: 5.63 MB / 0.7706 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003091/1.563, allocations: 35.75 kB / 0.7706 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004227/1.567, allocations: 0.5756 MB / 0.7712 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01322/1.581, allocations: 1.663 MB / 0.7728 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008674/1.589, allocations: 1.178 MB / 0.7739 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007879/1.597, allocations: 1.681 MB / 0.7756 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003199/1.601, allocations: 0.7346 MB / 0.7763 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003892/1.605, allocations: 0.7863 MB / 0.7771 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002717/1.607, allocations: 0.5642 MB / 0.7776 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000715/1.608, allocations: 51.88 kB / 0.7777 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006498/1.615, allocations: 0.6085 MB / 0.7783 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001825/1.617, allocations: 363 kB / 0.7786 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001358/1.618, allocations: 257.1 kB / 0.7788 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004707/1.623, allocations: 1.386 MB / 0.7802 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.623, allocations: 3.938 kB / 0.7802 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of FrontEnd: time 5.129e-06/1.623, allocations: 0 / 0.7802 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.34e-05/1.623, allocations: 0 / 0.7802 GB, free: 6.723 MB / 0.5919 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.005752/1.629, allocations: 1.268 MB / 0.7814 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 9.941e-05/1.629, allocations: 8.031 kB / 0.7815 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000555/1.629, allocations: 135.3 kB / 0.7816 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004676/1.634, allocations: 331.5 kB / 0.7819 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004053/1.638, allocations: 0.7778 MB / 0.7827 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/1.638, allocations: 66 kB / 0.7827 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/1.639, allocations: 84 kB / 0.7828 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/1.642, allocations: 0.917 MB / 0.7837 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/1.642, allocations: 3.938 kB / 0.7837 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/1.642, allocations: 43.95 kB / 0.7837 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.51e-05/1.642, allocations: 30 kB / 0.7838 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/1.645, allocations: 0.8353 MB / 0.7846 GB, free: 2.129 MB / 0.5919 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.01265/1.658, allocations: 3.533 MB / 0.788 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/1.659, allocations: 0.5006 MB / 0.7885 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/1.659, allocations: 12.42 kB / 0.7885 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.824e-05/1.66, allocations: 47.81 kB / 0.7886 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 8.746e-06/1.66, allocations: 4 kB / 0.7886 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.0072/1.667, allocations: 1.888 MB / 0.7904 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/1.667, allocations: 55.84 kB / 0.7905 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002711/1.67, allocations: 0.8096 MB / 0.7913 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001474/1.67, allocations: 37.7 kB / 0.7913 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006961/1.671, allocations: 475.3 kB / 0.7918 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/1.671, allocations: 173.5 kB / 0.7919 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/1.671, allocations: 16 kB / 0.7919 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000254/1.671, allocations: 322 kB / 0.7923 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007411/1.672, allocations: 249.2 kB / 0.7925 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/1.673, allocations: 388.6 kB / 0.7929 GB, free: 9.234 MB / 0.6075 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.004704/1.678, allocations: 0.9908 MB / 0.7938 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/1.678, allocations: 0 / 0.7938 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002868/1.681, allocations: 0.7966 MB / 0.7946 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.585e-05/1.681, allocations: 8 kB / 0.7946 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/1.681, allocations: 7.688 kB / 0.7946 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003704/1.681, allocations: 69.62 kB / 0.7947 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.683, allocations: 159.8 kB / 0.7948 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005838/1.688, allocations: 2.925 MB / 0.7977 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/1.691, allocations: 66.53 kB / 0.7978 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/1.691, allocations: 24 kB / 0.7978 GB, free: 3.91 MB / 0.6075 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.001396/1.693, allocations: 301.6 kB / 0.7981 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006164/1.693, allocations: 90.88 kB / 0.7982 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/1.694, allocations: 100.7 kB / 0.7983 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/1.694, allocations: 4 kB / 0.7983 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/1.694, allocations: 7.953 kB / 0.7983 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002112/1.696, allocations: 0.8427 MB / 0.7991 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006614/1.703, allocations: 1.798 MB / 0.8008 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/1.703, allocations: 4 kB / 0.8008 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009751/1.704, allocations: 152.2 kB / 0.801 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/1.704, allocations: 41.02 kB / 0.801 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.367e-05/1.704, allocations: 8 kB / 0.801 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/1.706, allocations: 1.495 MB / 0.8025 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/1.706, allocations: 4 kB / 0.8025 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/1.709, allocations: 1.258 MB / 0.8037 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.711, allocations: 239.9 kB / 0.804 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004646/1.711, allocations: 8 kB / 0.804 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/1.713, allocations: 69.52 kB / 0.804 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/1.713, allocations: 39.94 kB / 0.8041 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.714, allocations: 27.98 kB / 0.8041 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001762/1.715, allocations: 0.5537 MB / 0.8046 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.51e-07/1.715, allocations: 4 kB / 0.8046 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002347/1.718, allocations: 272 kB / 0.8049 GB, free: 12.13 MB / 0.6231 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.005904/1.724, allocations: 2.793 MB / 0.8076 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003389/1.727, allocations: 0.8144 MB / 0.8084 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.409e-05/1.727, allocations: 4 kB / 0.8084 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/1.729, allocations: 414.9 kB / 0.8088 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005692/1.734, allocations: 0.5709 MB / 0.8094 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02434/1.759, allocations: 7.344 MB / 0.8166 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/1.761, allocations: 1.111 MB / 0.8176 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002475/1.763, allocations: 213.3 kB / 0.8178 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.765, allocations: 343.3 kB / 0.8182 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of SimCode: time 2.625e-06/1.765, allocations: 3.938 kB / 0.8182 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1354/1.9, allocations: 26.79 MB / 0.8443 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005464/1.901, allocations: 265.7 kB / 0.8446 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.712/6.613, allocations: 0 / 0.8446 GB, free: 3.438 MB / 0.6544 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) Environment - environmentSimulation: