Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.00166/0.001661, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 196.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7739/0.7739, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 71.84 kB / 0.5019 GB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3775, allocations: 80.2 MB / 0.5802 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1899/0.5674, allocations: 190.6 MB / 0.7663 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00848/0.576, allocations: 5.721 MB / 0.7719 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.5771, allocations: 43.75 kB / 0.7719 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.5786, allocations: 0.5785 MB / 0.7725 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004232/0.5828, allocations: 1.843 MB / 0.7743 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002785/0.5856, allocations: 1.173 MB / 0.7754 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003081/0.5887, allocations: 2.938 MB / 0.7783 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.5898, allocations: 0.9615 MB / 0.7792 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.5918, allocations: 1.058 MB / 0.7803 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.5939, allocations: 0.9075 MB / 0.7812 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.5941, allocations: 108 kB / 0.7813 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/0.5972, allocations: 1.423 MB / 0.7826 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004543/0.5977, allocations: 458.8 kB / 0.7831 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007795/0.5985, allocations: 0.665 MB / 0.7837 GB, free: 364 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.6011, allocations: 2.119 MB / 0.7858 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6011, allocations: 0 / 0.7858 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6011, allocations: 8 kB / 0.7858 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.846e-05/0.6011, allocations: 0 / 0.7858 GB, free: 14.22 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002413/0.6035, allocations: 1.515 MB / 0.7873 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6036, allocations: 8.031 kB / 0.7873 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/0.6037, allocations: 139.2 kB / 0.7874 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.6057, allocations: 314.3 kB / 0.7877 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.6068, allocations: 0.8124 MB / 0.7885 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.6069, allocations: 69.94 kB / 0.7886 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.607, allocations: 95.89 kB / 0.7887 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.6085, allocations: 0.9053 MB / 0.7896 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.6086, allocations: 0 / 0.7896 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/0.6087, allocations: 36 kB / 0.7896 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.6087, allocations: 34 kB / 0.7896 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.6101, allocations: 0.8237 MB / 0.7904 GB, free: 9.367 MB / 0.6231 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.005022/0.6151, allocations: 3.544 MB / 0.7939 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007648/0.6159, allocations: 0.5043 MB / 0.7944 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/0.6163, allocations: 290 kB / 0.7947 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.6165, allocations: 101.5 kB / 0.7948 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.6166, allocations: 46.94 kB / 0.7948 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.385e-06/0.6166, allocations: 0 / 0.7948 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.003756/0.6203, allocations: 1.919 MB / 0.7967 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.6204, allocations: 55.84 kB / 0.7967 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008917/0.6213, allocations: 0.8096 MB / 0.7975 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.6213, allocations: 37.7 kB / 0.7976 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.6217, allocations: 479.4 kB / 0.798 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.6218, allocations: 177.5 kB / 0.7982 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.622, allocations: 114.2 kB / 0.7983 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6221, allocations: 330 kB / 0.7986 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.6225, allocations: 241.1 kB / 0.7988 GB, free: 356 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/0.623, allocations: 367 kB / 0.7992 GB, free: 15.95 MB / 0.6387 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.003604/0.6267, allocations: 1.523 MB / 0.8007 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6267, allocations: 4 kB / 0.8007 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001284/0.628, allocations: 0.7808 MB / 0.8014 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.628, allocations: 9.562 kB / 0.8015 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.628, allocations: 0 / 0.8015 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.6283, allocations: 97.91 kB / 0.8015 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.629, allocations: 143.8 kB / 0.8017 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.6316, allocations: 3.304 MB / 0.8049 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000778/0.6324, allocations: 35.92 kB / 0.8049 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.6325, allocations: 20 kB / 0.805 GB, free: 9.699 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004201/0.6329, allocations: 301.6 kB / 0.8053 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.633, allocations: 90.97 kB / 0.8053 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.6332, allocations: 100.7 kB / 0.8054 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.6332, allocations: 7.938 kB / 0.8054 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6333, allocations: 4 kB / 0.8054 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009752/0.6342, allocations: 0.8427 MB / 0.8063 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.6369, allocations: 1.79 MB / 0.808 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.6369, allocations: 4 kB / 0.808 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/0.6375, allocations: 127.8 kB / 0.8081 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/0.6377, allocations: 73 kB / 0.8082 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.6378, allocations: 12 kB / 0.8082 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.6393, allocations: 1.781 MB / 0.81 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6393, allocations: 4 kB / 0.81 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.6408, allocations: 1.1 MB / 0.811 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.6412, allocations: 232 kB / 0.8113 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6413, allocations: 12 kB / 0.8113 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000684/0.642, allocations: 28.05 kB / 0.8113 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.6421, allocations: 47.88 kB / 0.8113 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.6421, allocations: 31.92 kB / 0.8114 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006684/0.6428, allocations: 0.5615 MB / 0.8119 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.465e-06/0.6428, allocations: 0 / 0.8119 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008279/0.6437, allocations: 283.9 kB / 0.8122 GB, free: 1.867 MB / 0.6387 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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002032/0.6457, allocations: 1.732 MB / 0.8139 GB, free: 80 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.2066/0.8523, allocations: 0.8625 MB / 0.8147 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8523, allocations: 4.25 kB / 0.8147 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005337/0.8528, allocations: 405.6 kB / 0.8151 GB, free: 220 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.8556, allocations: 0.6113 MB / 0.8157 GB, free: 220 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008659/0.8643, allocations: 7.277 MB / 0.8228 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007727/0.8651, allocations: 1.083 MB / 0.8239 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009297/0.866, allocations: 213.4 kB / 0.8241 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/0.8664, allocations: 352.8 kB / 0.8244 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of SimCode: time 8.92e-07/0.8664, allocations: 0 / 0.8244 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.394/3.26, allocations: 27.86 MB / 0.8516 GB, free: 199.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/17.07, allocations: 9.734 kB / 0.8516 GB, free: 199.5 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)