Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.0008564/0.0008564, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001062/0.001062, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 240 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 0.981/0.981, allocations: 135.3 MB / 426.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003673, allocations: 17.66 kB / 0.5071 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2089, allocations: 82.33 MB / 0.5875 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.6319/0.8409, allocations: 171.4 MB / 0.7548 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01729/0.8582, allocations: 10.15 MB / 0.7648 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.8604, allocations: 47.62 kB / 0.7648 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.8619, allocations: 353.7 kB / 0.7651 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006977/0.8689, allocations: 1.964 MB / 0.7671 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006273/0.8752, allocations: 1.876 MB / 0.7689 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005058/0.8802, allocations: 3.316 MB / 0.7721 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.8815, allocations: 0.5838 MB / 0.7727 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.8837, allocations: 0.8988 MB / 0.7736 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.886, allocations: 1.024 MB / 0.7746 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.8862, allocations: 44 kB / 0.7746 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005657/0.8918, allocations: 2.062 MB / 0.7766 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005846/0.8924, allocations: 382.8 kB / 0.777 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000439/0.8929, allocations: 229.2 kB / 0.7772 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004435/0.8973, allocations: 1.98 MB / 0.7792 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8974, allocations: 0 / 0.7792 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8974, allocations: 0 / 0.7792 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.778e-05/0.8974, allocations: 0 / 0.7792 GB, free: 8.59 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003902/0.9013, allocations: 1.487 MB / 0.7806 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/0.9014, allocations: 12.03 kB / 0.7806 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.9016, allocations: 110.5 kB / 0.7807 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.9034, allocations: 306.2 kB / 0.781 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.9048, allocations: 0.7383 MB / 0.7817 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.715e-05/0.9049, allocations: 53.3 kB / 0.7818 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.905, allocations: 67.98 kB / 0.7819 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.9067, allocations: 0.9882 MB / 0.7828 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.9068, allocations: 0 / 0.7828 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.9069, allocations: 31.97 kB / 0.7828 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.907, allocations: 77.94 kB / 0.7829 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.9086, allocations: 1.019 MB / 0.7839 GB, free: 3.59 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.006197/0.9148, allocations: 3.578 MB / 0.7874 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.916, allocations: 0.6615 MB / 0.7881 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.9166, allocations: 378.4 kB / 0.7884 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003213/0.917, allocations: 194.7 kB / 0.7886 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.917, allocations: 43.12 kB / 0.7886 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.795e-06/0.917, allocations: 4 kB / 0.7886 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.002153/0.9192, allocations: 1.021 MB / 0.7896 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/0.9193, allocations: 111.4 kB / 0.7898 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.9204, allocations: 0.7941 MB / 0.7905 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.618e-05/0.9205, allocations: 37.7 kB / 0.7906 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.9209, allocations: 432 kB / 0.791 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.9211, allocations: 224.8 kB / 0.7912 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.9212, allocations: 8 kB / 0.7912 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.9213, allocations: 341.9 kB / 0.7915 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005491/0.9219, allocations: 317.8 kB / 0.7918 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000688/0.9226, allocations: 465.2 kB / 0.7923 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/0.9233, allocations: 403 kB / 0.7927 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9233, allocations: 0 / 0.7927 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001607/0.9249, allocations: 0.9022 MB / 0.7935 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.925, allocations: 159.6 kB / 0.7937 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.9251, allocations: 0 / 0.7937 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.047e-05/0.9251, allocations: 12 kB / 0.7937 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.9259, allocations: 151.8 kB / 0.7938 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.9259, allocations: 4 kB / 0.7938 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008496/0.9267, allocations: 113.9 kB / 0.794 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/0.9268, allocations: 31.92 kB / 0.794 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.9268, allocations: 6.344 kB / 0.794 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/0.9281, allocations: 0.7687 MB / 0.7947 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.9281, allocations: 4 kB / 0.7947 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.9282, allocations: 4.281 kB / 0.7948 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.9288, allocations: 148.4 kB / 0.7949 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9288, allocations: 4 kB / 0.7949 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.9295, allocations: 95.78 kB / 0.795 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.9296, allocations: 35.98 kB / 0.795 GB, free: 7.805 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0006198/0.9302, allocations: 377.3 kB / 0.7954 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.9304, allocations: 90.88 kB / 0.7955 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.9318, allocations: 0.8008 MB / 0.7963 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.9319, allocations: 8.875 kB / 0.7963 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.9319, allocations: 0 / 0.7963 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/0.933, allocations: 0.7399 MB / 0.797 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/0.9363, allocations: 2.097 MB / 0.799 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.9363, allocations: 0 / 0.799 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006525/0.937, allocations: 139.8 kB / 0.7992 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.631e-05/0.937, allocations: 10.73 kB / 0.7992 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.9371, allocations: 16.44 kB / 0.7992 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.9371, allocations: 12 kB / 0.7992 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9371, allocations: 4 kB / 0.7992 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.939, allocations: 1.399 MB / 0.8006 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004888/0.9396, allocations: 259.8 kB / 0.8008 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.9397, allocations: 19.98 kB / 0.8008 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.9403, allocations: 48.98 kB / 0.8009 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.9404, allocations: 44.34 kB / 0.8009 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.9404, allocations: 27.98 kB / 0.801 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007307/0.9412, allocations: 0.5498 MB / 0.8015 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9412, allocations: 0 / 0.8015 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002025/0.9432, allocations: 0.745 MB / 0.8022 GB, free: 220 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.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 (64): * Single equations (assignments): 64 * 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.003876/0.9471, allocations: 2.379 MB / 0.8045 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002348/0.9495, allocations: 1.163 MB / 0.8057 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.9495, allocations: 8.062 kB / 0.8057 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.9501, allocations: 370.1 kB / 0.806 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.9525, allocations: 0.5018 MB / 0.8065 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.9631, allocations: 5.968 MB / 0.8124 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008106/0.9639, allocations: 1.081 MB / 0.8134 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001685/0.9656, allocations: 417 kB / 0.8138 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000604/0.9662, allocations: 335.3 kB / 0.8141 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of SimCode: time 1.833e-06/0.9663, allocations: 0 / 0.8141 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06094/1.027, allocations: 30.32 MB / 0.8437 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.027, allocations: 236.9 kB / 0.844 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/3.694, allocations: 4.062 kB / 0.844 GB, free: 5.531 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) Environment - environmentSimulation: