Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001554, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7144/0.7144, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 221.3 MB / 400.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 94.23 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.866e-05/4.878e-05, allocations: 3.938 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2167, allocations: 82.31 MB / 0.6405 GB, free: 7.699 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.319/5.536, allocations: 1.88 GB / 2.52 GB, free: 50.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/5.536, allocations: 90.81 kB / 2.52 GB, free: 50.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.693/7.229, allocations: 360.1 MB / 2.872 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/7.229, allocations: 3.719 kB / 2.872 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001208/7.229, allocations: 21.67 kB / 2.872 GB, free: 165.3 MB / 0.6823 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.002799/7.232, allocations: 0.9687 MB / 2.873 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/7.232, allocations: 7.156 kB / 2.873 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002799/7.233, allocations: 103.3 kB / 2.873 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/7.236, allocations: 265.7 kB / 2.873 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/7.238, allocations: 0.702 MB / 2.874 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.375e-05/7.238, allocations: 44.22 kB / 2.874 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/7.238, allocations: 66.47 kB / 2.874 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/7.24, allocations: 0.5503 MB / 2.875 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/7.24, allocations: 0 / 2.875 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/7.24, allocations: 20.72 kB / 2.875 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/7.24, allocations: 23.03 kB / 2.875 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/7.241, allocations: 474.6 kB / 2.875 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004613/7.246, allocations: 2.381 MB / 2.878 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008327/7.246, allocations: 412.3 kB / 2.878 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/7.247, allocations: 210 kB / 2.878 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/7.247, allocations: 104.9 kB / 2.878 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/7.247, allocations: 37.59 kB / 2.878 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 3.717e-06/7.247, allocations: 3.938 kB / 2.878 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.003769/7.251, allocations: 1.257 MB / 2.879 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/7.251, allocations: 55.75 kB / 2.88 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009084/7.252, allocations: 474.1 kB / 2.88 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.595e-05/7.252, allocations: 35.58 kB / 2.88 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/7.252, allocations: 326.7 kB / 2.88 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/7.253, allocations: 164.8 kB / 2.881 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/7.253, allocations: 9.844 kB / 2.881 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001256/7.253, allocations: 378.5 kB / 2.881 GB, free: 162 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/7.253, allocations: 161.6 kB / 2.881 GB, free: 162 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/7.254, allocations: 253.3 kB / 2.881 GB, free: 162 MB / 0.6823 GB 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) 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.003908/7.258, allocations: 1.024 MB / 2.882 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/7.258, allocations: 0 / 2.882 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001306/7.259, allocations: 0.5138 MB / 2.883 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/7.259, allocations: 4.406 kB / 2.883 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/7.259, allocations: 3.938 kB / 2.883 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/7.259, allocations: 5.844 kB / 2.883 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/7.26, allocations: 97.5 kB / 2.883 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/7.26, allocations: 3.938 kB / 2.883 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/7.261, allocations: 37.44 kB / 2.883 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/7.261, allocations: 20.81 kB / 2.883 GB, free: 161.7 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000233/7.261, allocations: 144.6 kB / 2.883 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/7.262, allocations: 68.25 kB / 2.883 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/7.262, allocations: 77.88 kB / 2.883 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/7.262, allocations: 3.938 kB / 2.883 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/7.262, allocations: 2.766 kB / 2.883 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009103/7.263, allocations: 0.4977 MB / 2.884 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/7.267, allocations: 1.569 MB / 2.885 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/7.267, allocations: 6.844 kB / 2.885 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008242/7.267, allocations: 117.5 kB / 2.885 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-05/7.267, allocations: 7.188 kB / 2.885 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/7.268, allocations: 18.28 kB / 2.885 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.314e-05/7.268, allocations: 9.812 kB / 2.885 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/7.268, allocations: 9.969 kB / 2.885 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/7.269, allocations: 1.162 MB / 2.887 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004542/7.27, allocations: 198.8 kB / 2.887 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/7.27, allocations: 17.47 kB / 2.887 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000689/7.271, allocations: 39.05 kB / 2.887 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/7.271, allocations: 49.28 kB / 2.887 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/7.271, allocations: 22.47 kB / 2.887 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005486/7.271, allocations: 389.5 kB / 2.887 GB, free: 160 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/7.271, allocations: 0 / 2.887 GB, free: 160 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00135/7.273, allocations: 294.1 kB / 2.887 GB, free: 160 MB / 0.6823 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 () * 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 (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.003447/7.276, allocations: 4.027 MB / 2.891 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007612/7.277, allocations: 426.9 kB / 2.892 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/7.277, allocations: 3.281 kB / 2.892 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003185/7.277, allocations: 233.8 kB / 2.892 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/7.28, allocations: 466.9 kB / 2.893 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/7.282, allocations: 1.432 MB / 2.894 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/7.283, allocations: 0.9886 MB / 2.895 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007659/7.284, allocations: 164.6 kB / 2.895 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/7.284, allocations: 257.3 kB / 2.895 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.305e-06/7.284, allocations: 0 / 2.895 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07858/7.363, allocations: 39.09 MB / 2.933 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/7.363, allocations: 201.8 kB / 2.934 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.417/10.78, allocations: 0 / 2.934 GB, free: 152.4 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)