Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.001868/0.001868, 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.001973/0.001973, allocations: 195 kB / 16.53 MB, free: 6.664 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7777/0.7777, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 61.41 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3737, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1912/0.5649, allocations: 181.9 MB / 0.7578 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009126/0.574, allocations: 5.341 MB / 0.763 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009191/0.575, allocations: 31.81 kB / 0.763 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.5762, allocations: 445.3 kB / 0.7635 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003839/0.58, allocations: 1.671 MB / 0.7651 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.5818, allocations: 0.7927 MB / 0.7659 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002244/0.584, allocations: 2.188 MB / 0.768 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000801/0.5849, allocations: 0.6812 MB / 0.7687 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008994/0.5858, allocations: 0.7354 MB / 0.7694 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.5871, allocations: 0.6811 MB / 0.7701 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.5873, allocations: 76 kB / 0.7701 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.5896, allocations: 1.391 MB / 0.7715 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.5899, allocations: 319.1 kB / 0.7718 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004291/0.5904, allocations: 473.9 kB / 0.7722 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.5922, allocations: 1.636 MB / 0.7738 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5923, allocations: 0 / 0.7738 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5923, allocations: 0 / 0.7738 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.5923, allocations: 4 kB / 0.7738 GB, free: 10.56 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001616/0.5939, allocations: 1.178 MB / 0.775 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.594, allocations: 12.03 kB / 0.775 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.5941, allocations: 102.5 kB / 0.7751 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.5959, allocations: 266.8 kB / 0.7754 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009205/0.5968, allocations: 0.6748 MB / 0.776 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.5968, allocations: 45.31 kB / 0.7761 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.004e-05/0.5969, allocations: 56 kB / 0.7761 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000941/0.5979, allocations: 0.5765 MB / 0.7767 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.5979, allocations: 3.938 kB / 0.7767 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.598, allocations: 28 kB / 0.7767 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.598, allocations: 25.3 kB / 0.7767 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008301/0.5989, allocations: 0.5009 MB / 0.7772 GB, free: 6.992 MB / 0.6075 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.002865/0.6017, allocations: 2.384 MB / 0.7796 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.6024, allocations: 427.7 kB / 0.78 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.6027, allocations: 223.1 kB / 0.7802 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.6029, allocations: 101 kB / 0.7803 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.6029, allocations: 42.56 kB / 0.7803 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.903e-06/0.6029, allocations: 0 / 0.7803 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.002704/0.6056, allocations: 1.447 MB / 0.7817 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.6057, allocations: 63.78 kB / 0.7818 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005595/0.6063, allocations: 0.5343 MB / 0.7823 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.6063, allocations: 37.7 kB / 0.7823 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.6065, allocations: 320.7 kB / 0.7826 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.6067, allocations: 177.5 kB / 0.7828 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.6068, allocations: 90.16 kB / 0.7829 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6069, allocations: 370.8 kB / 0.7833 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.6073, allocations: 177 kB / 0.7834 GB, free: 324 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.6076, allocations: 252.8 kB / 0.7837 GB, free: 52 kB / 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: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003205/0.6108, allocations: 1.427 MB / 0.7851 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6108, allocations: 0 / 0.7851 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008117/0.6117, allocations: 0.5228 MB / 0.7856 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6117, allocations: 11.98 kB / 0.7856 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.6117, allocations: 4 kB / 0.7856 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.6117, allocations: 4 kB / 0.7856 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.6121, allocations: 91.91 kB / 0.7857 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.6122, allocations: 11.92 kB / 0.7857 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000594/0.6128, allocations: 15.98 kB / 0.7857 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.6128, allocations: 16 kB / 0.7857 GB, free: 13.89 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002806/0.6131, allocations: 253.7 kB / 0.786 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.6132, allocations: 71.16 kB / 0.786 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.6134, allocations: 74.45 kB / 0.7861 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6134, allocations: 8 kB / 0.7861 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.6134, allocations: 3.938 kB / 0.7861 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006813/0.6141, allocations: 0.5144 MB / 0.7866 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.6163, allocations: 1.582 MB / 0.7882 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.6163, allocations: 4 kB / 0.7882 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005426/0.6168, allocations: 116.5 kB / 0.7883 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.6169, allocations: 12 kB / 0.7883 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/0.6169, allocations: 19.94 kB / 0.7883 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.6169, allocations: 15.92 kB / 0.7883 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.6169, allocations: 8 kB / 0.7883 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.6181, allocations: 0.9374 MB / 0.7892 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.6183, allocations: 196.3 kB / 0.7894 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.92e-05/0.6184, allocations: 23.94 kB / 0.7895 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005353/0.619, allocations: 16 kB / 0.7895 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/0.6191, allocations: 43.83 kB / 0.7895 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.6191, allocations: 23.98 kB / 0.7895 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004129/0.6195, allocations: 406.8 kB / 0.7899 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6195, allocations: 0 / 0.7899 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006286/0.6202, allocations: 200 kB / 0.7901 GB, free: 9.133 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001675/0.6219, allocations: 1.551 MB / 0.7916 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008238/0.6227, allocations: 489.2 kB / 0.7921 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6227, allocations: 4 kB / 0.7921 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.6231, allocations: 233.5 kB / 0.7923 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.6252, allocations: 0.4901 MB / 0.7928 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006483/0.6317, allocations: 5.612 MB / 0.7983 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.6322, allocations: 0.969 MB / 0.7992 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006134/0.6328, allocations: 165.8 kB / 0.7994 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.6332, allocations: 255.3 kB / 0.7996 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.6332, allocations: 0 / 0.7996 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.567/2.2, allocations: 20.28 MB / 0.8194 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/13.58, allocations: 2.812 kB / 0.8194 GB, free: 220.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)