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.001405/0.001405, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001613/0.001613, allocations: 193.6 kB / 16.14 MB, free: 6.707 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.249/1.249, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7063/0.7063, allocations: 132.2 MB / 422.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 70.56 kB / 0.5012 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3674, allocations: 80.19 MB / 0.5795 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1998/0.5672, allocations: 188.3 MB / 0.7634 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008772/0.5761, allocations: 5.787 MB / 0.7691 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000951/0.577, allocations: 39.75 kB / 0.7691 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.5784, allocations: 0.4935 MB / 0.7696 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.5821, allocations: 1.735 MB / 0.7713 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.5846, allocations: 1.073 MB / 0.7723 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003968/0.5885, allocations: 4.09 MB / 0.7763 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009861/0.5895, allocations: 0.812 MB / 0.7771 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.5908, allocations: 0.9023 MB / 0.778 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.5924, allocations: 0.9388 MB / 0.7789 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.5926, allocations: 52 kB / 0.779 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.5953, allocations: 1.636 MB / 0.7806 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003993/0.5957, allocations: 414.8 kB / 0.781 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006146/0.5964, allocations: 0.5948 MB / 0.7815 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.5989, allocations: 2.169 MB / 0.7837 GB, free: 0 / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5989, allocations: 0 / 0.7837 GB, free: 0 / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5989, allocations: 4.047 kB / 0.7837 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.666e-05/0.5989, allocations: 0 / 0.7837 GB, free: 15.99 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.002464/0.6014, allocations: 1.511 MB / 0.7851 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.6015, allocations: 8.031 kB / 0.7851 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.6016, allocations: 143.2 kB / 0.7853 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/0.6036, allocations: 314.3 kB / 0.7856 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.6049, allocations: 0.8201 MB / 0.7864 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.562e-05/0.6049, allocations: 65.94 kB / 0.7864 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.6051, allocations: 87.91 kB / 0.7865 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.6066, allocations: 0.9092 MB / 0.7874 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.6067, allocations: 3.938 kB / 0.7874 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.624e-05/0.6068, allocations: 36 kB / 0.7875 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.105e-05/0.6068, allocations: 41.98 kB / 0.7875 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.6082, allocations: 0.8198 MB / 0.7883 GB, free: 11.14 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.005462/0.6137, allocations: 3.517 MB / 0.7917 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000759/0.6144, allocations: 0.5005 MB / 0.7922 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004313/0.6149, allocations: 294.8 kB / 0.7925 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.6151, allocations: 105.5 kB / 0.7926 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.6151, allocations: 47 kB / 0.7926 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 3.787e-06/0.6151, allocations: 3.938 kB / 0.7926 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.00435/0.6195, allocations: 1.911 MB / 0.7945 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.6196, allocations: 59.84 kB / 0.7946 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.6206, allocations: 0.8135 MB / 0.7954 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/0.6207, allocations: 37.7 kB / 0.7954 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.621, allocations: 471.4 kB / 0.7958 GB, free: 3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.6212, allocations: 173.5 kB / 0.796 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.6214, allocations: 118.2 kB / 0.7961 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6215, allocations: 330 kB / 0.7964 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004388/0.6219, allocations: 241.2 kB / 0.7967 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.6225, allocations: 366.9 kB / 0.797 GB, free: 1.746 MB / 0.6231 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.003718/0.6262, allocations: 1.519 MB / 0.7985 GB, free: 184 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.6262, allocations: 8 kB / 0.7985 GB, free: 176 kB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00128/0.6275, allocations: 0.7769 MB / 0.7993 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6276, allocations: 8.281 kB / 0.7993 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.6276, allocations: 8 kB / 0.7993 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002955/0.6279, allocations: 93.64 kB / 0.7994 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.6285, allocations: 139.8 kB / 0.7995 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0028/0.6314, allocations: 3.063 MB / 0.8025 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008614/0.6322, allocations: 61.97 kB / 0.8026 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.6323, allocations: 24 kB / 0.8026 GB, free: 11.72 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.0004381/0.6327, allocations: 309.3 kB / 0.8029 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.6329, allocations: 90.97 kB / 0.803 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.6331, allocations: 100.7 kB / 0.8031 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6331, allocations: 4 kB / 0.8031 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6331, allocations: 4 kB / 0.8031 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001024/0.6342, allocations: 0.831 MB / 0.8039 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/0.6369, allocations: 1.801 MB / 0.8056 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6369, allocations: 4 kB / 0.8056 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/0.6375, allocations: 128.2 kB / 0.8058 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.6378, allocations: 72.8 kB / 0.8058 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.6378, allocations: 16 kB / 0.8058 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.6394, allocations: 1.651 MB / 0.8075 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6394, allocations: 4 kB / 0.8075 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.6409, allocations: 1.099 MB / 0.8085 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.6413, allocations: 232 kB / 0.8088 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.6414, allocations: 16 kB / 0.8088 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007501/0.6422, allocations: 61.59 kB / 0.8088 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.6423, allocations: 47.83 kB / 0.8089 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/0.6424, allocations: 27.98 kB / 0.8089 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000671/0.643, allocations: 0.5654 MB / 0.8095 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.643, allocations: 0 / 0.8095 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008472/0.6439, allocations: 284 kB / 0.8097 GB, free: 3.992 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.002124/0.646, allocations: 1.728 MB / 0.8114 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.6473, allocations: 0.792 MB / 0.8122 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6473, allocations: 4 kB / 0.8122 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005554/0.6478, allocations: 412.5 kB / 0.8126 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.6504, allocations: 0.5759 MB / 0.8132 GB, free: 412 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3024/0.9528, allocations: 7.586 MB / 0.8206 GB, free: 36.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.9534, allocations: 1.087 MB / 0.8216 GB, free: 35.98 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009392/0.9544, allocations: 213.6 kB / 0.8218 GB, free: 35.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.9548, allocations: 348.4 kB / 0.8222 GB, free: 35.94 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.9548, allocations: 3 kB / 0.8222 GB, free: 35.94 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03966/0.9945, allocations: 26.74 MB / 0.8483 GB, free: 32.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001396/0.9946, allocations: 278.2 kB / 0.8485 GB, free: 32.38 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/3.275, allocations: 2.688 kB / 0.8485 GB, free: 32.38 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)