Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",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.001652/0.001651, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8485/0.8485, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 221.5 MB / 395.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008861/0.0008861, allocations: 99.2 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.6e-05, allocations: 4 kB / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.449, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.368/1.817, allocations: 494.6 MB / 1.117 GB, free: 188.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/1.817, allocations: 92.52 kB / 1.117 GB, free: 188.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.318/3.135, allocations: 398.4 MB / 1.506 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.894e-06/3.135, allocations: 0 / 1.506 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.672e-05/3.135, allocations: 19.98 kB / 1.506 GB, free: 90.66 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00251/3.137, allocations: 1.168 MB / 1.507 GB, free: 89.44 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/3.137, allocations: 8.031 kB / 1.507 GB, free: 89.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/3.139, allocations: 155 kB / 1.507 GB, free: 89.28 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/3.14, allocations: 0.995 MB / 1.508 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/3.141, allocations: 16 kB / 1.508 GB, free: 88.22 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/3.141, allocations: 31.89 kB / 1.508 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004681/3.141, allocations: 286.5 kB / 1.509 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/3.142, allocations: 446.2 kB / 1.509 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/3.142, allocations: 3.938 kB / 1.509 GB, free: 87.44 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/3.142, allocations: 4 kB / 1.509 GB, free: 87.44 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/3.142, allocations: 8 kB / 1.509 GB, free: 87.43 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.001976/3.144, allocations: 2.133 MB / 1.511 GB, free: 85.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/3.144, allocations: 246.5 kB / 1.511 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/3.144, allocations: 120.8 kB / 1.512 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009726/3.145, allocations: 2.027 MB / 1.514 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/3.145, allocations: 34.55 kB / 1.514 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.973e-06/3.145, allocations: 0 / 1.514 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.004029/3.149, allocations: 1.471 MB / 1.515 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/3.149, allocations: 59.41 kB / 1.515 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/3.15, allocations: 406.1 kB / 1.515 GB, free: 80.28 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/3.15, allocations: 29.7 kB / 1.516 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/3.15, allocations: 320.4 kB / 1.516 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.382e-05/3.15, allocations: 141.9 kB / 1.516 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/3.15, allocations: 0 / 1.516 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/3.15, allocations: 378.7 kB / 1.516 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/3.15, allocations: 133 kB / 1.516 GB, free: 79.28 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/3.15, allocations: 258.5 kB / 1.517 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/3.151, allocations: 230 kB / 1.517 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/3.151, allocations: 4 kB / 1.517 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001216/3.152, allocations: 0.6072 MB / 1.518 GB, free: 78.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002595/3.153, allocations: 1.134 MB / 1.519 GB, free: 76.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/3.153, allocations: 4 kB / 1.519 GB, free: 76.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004434/3.153, allocations: 173.5 kB / 1.519 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/3.153, allocations: 67.91 kB / 1.519 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009611/3.154, allocations: 1.382 MB / 1.52 GB, free: 75.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/3.155, allocations: 23.97 kB / 1.52 GB, free: 75.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/3.155, allocations: 20 kB / 1.52 GB, free: 75.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/3.155, allocations: 8.062 kB / 1.52 GB, free: 75.18 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001121/3.156, allocations: 0.5085 MB / 1.521 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/3.156, allocations: 8.328 kB / 1.521 GB, free: 74.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003697/3.156, allocations: 177.6 kB / 1.521 GB, free: 74.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/3.157, allocations: 71.91 kB / 1.521 GB, free: 74.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008916/3.157, allocations: 1.378 MB / 1.522 GB, free: 72.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/3.158, allocations: 31.78 kB / 1.522 GB, free: 72.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/3.158, allocations: 28.11 kB / 1.522 GB, free: 72.91 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001886/3.158, allocations: 119.6 kB / 1.523 GB, free: 72.79 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001219/3.159, allocations: 0.5455 MB / 1.523 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.073e-05/3.159, allocations: 63.25 kB / 1.523 GB, free: 72.17 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/3.161, allocations: 0.647 MB / 1.524 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/3.161, allocations: 4 kB / 1.524 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/3.161, allocations: 0 / 1.524 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/3.162, allocations: 0.6626 MB / 1.524 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/3.164, allocations: 1.373 MB / 1.526 GB, free: 69.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/3.164, allocations: 7.938 kB / 1.526 GB, free: 69.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/3.165, allocations: 51.91 kB / 1.526 GB, free: 69.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/3.165, allocations: 161.6 kB / 1.526 GB, free: 69.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/3.165, allocations: 11.94 kB / 1.526 GB, free: 69.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009857/3.166, allocations: 1.355 MB / 1.527 GB, free: 67.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/3.166, allocations: 0 / 1.527 GB, free: 67.72 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/3.168, allocations: 0.8791 MB / 1.528 GB, free: 66.81 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/3.168, allocations: 192.3 kB / 1.528 GB, free: 66.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/3.168, allocations: 0 / 1.528 GB, free: 66.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/3.168, allocations: 19.92 kB / 1.528 GB, free: 66.58 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/3.168, allocations: 27.95 kB / 1.528 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/3.168, allocations: 28.05 kB / 1.528 GB, free: 66.53 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003249/3.169, allocations: 310.9 kB / 1.529 GB, free: 66.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/3.169, allocations: 0 / 1.529 GB, free: 66.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001741/3.17, allocations: 483.6 kB / 1.529 GB, free: 65.75 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002684/3.173, allocations: 1.868 MB / 1.531 GB, free: 63.85 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001176/3.174, allocations: 0.6665 MB / 1.532 GB, free: 63.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/3.174, allocations: 0 / 1.532 GB, free: 63.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/3.175, allocations: 228.5 kB / 1.532 GB, free: 62.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/3.176, allocations: 290.9 kB / 1.532 GB, free: 62.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/3.178, allocations: 1.122 MB / 1.533 GB, free: 61.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/3.178, allocations: 0.927 MB / 1.534 GB, free: 60.56 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007417/3.179, allocations: 262.3 kB / 1.534 GB, free: 60.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/3.179, allocations: 219.3 kB / 1.535 GB, free: 60.09 MB / 0.6823 GB Notification: Performance of SimCode: time 3.91e-07/3.179, allocations: 0 / 1.535 GB, free: 60.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04326/3.223, allocations: 21.35 MB / 1.555 GB, free: 38.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/3.223, allocations: 177 kB / 1.556 GB, free: 38.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.084/6.307, allocations: 3.938 kB / 1.556 GB, free: 38.72 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)