Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.001171/0.001171, allocations: 174.7 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.7459/0.7459, 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.577/1.577, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.0008259/0.0008258, allocations: 102.2 kB / 483.3 MB, free: 5.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.526e-05/4.538e-05, allocations: 6.281 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1884, allocations: 82.3 MB / 0.6405 GB, free: 7.777 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.547/1.736, allocations: 374.6 MB / 1.006 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/1.736, allocations: 93.69 kB / 1.006 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.123/2.859, allocations: 247.3 MB / 1.248 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.403e-06/2.859, allocations: 3.844 kB / 1.248 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002309/2.859, allocations: 37.03 kB / 1.248 GB, free: 169.8 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003876/2.863, allocations: 1.201 MB / 1.249 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/2.863, allocations: 7.844 kB / 1.249 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004117/2.863, allocations: 127.8 kB / 1.249 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/2.865, allocations: 146.7 kB / 1.249 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02075/2.885, allocations: 7.774 MB / 1.257 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/2.885, allocations: 57.78 kB / 1.257 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/2.886, allocations: 73.81 kB / 1.257 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002844/2.889, allocations: 0.9684 MB / 1.258 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/2.889, allocations: 4.875 kB / 1.258 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/2.889, allocations: 34.22 kB / 1.258 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/2.889, allocations: 20.59 kB / 1.258 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/2.891, allocations: 0.6831 MB / 1.259 GB, free: 168.5 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.007489/2.898, allocations: 4.54 MB / 1.263 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007823/2.899, allocations: 385.7 kB / 1.264 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/2.899, allocations: 262.7 kB / 1.264 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003979/2.9, allocations: 430.8 kB / 1.264 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/2.9, allocations: 41.91 kB / 1.264 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 4.298e-06/2.9, allocations: 0 / 1.264 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.001413/2.901, allocations: 0.5385 MB / 1.265 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/2.901, allocations: 59.31 kB / 1.265 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/2.903, allocations: 0.8335 MB / 1.266 GB, free: 165 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/2.903, allocations: 36.77 kB / 1.266 GB, free: 165 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000451/2.903, allocations: 0.5156 MB / 1.266 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/2.904, allocations: 143.4 kB / 1.266 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/2.904, allocations: 15.59 kB / 1.266 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001129/2.904, allocations: 332.2 kB / 1.267 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/2.904, allocations: 210.5 kB / 1.267 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/2.905, allocations: 438.5 kB / 1.267 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/2.905, allocations: 310 kB / 1.268 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/2.905, allocations: 3.094 kB / 1.268 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001362/2.906, allocations: 0.7723 MB / 1.268 GB, free: 164 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006858/2.907, allocations: 2.181 MB / 1.271 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/2.907, allocations: 7.719 kB / 1.271 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/2.908, allocations: 67.72 kB / 1.271 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/2.908, allocations: 114.4 kB / 1.271 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005011/2.908, allocations: 0.6352 MB / 1.271 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/2.91, allocations: 112.2 kB / 1.271 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.798e-05/2.91, allocations: 30.31 kB / 1.271 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/2.91, allocations: 4.656 kB / 1.271 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00104/2.911, allocations: 0.6675 MB / 1.272 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/2.911, allocations: 7.875 kB / 1.272 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/2.911, allocations: 57.52 kB / 1.272 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/2.911, allocations: 110.4 kB / 1.272 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/2.914, allocations: 1.661 MB / 1.274 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/2.915, allocations: 98.39 kB / 1.274 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.19e-05/2.915, allocations: 30.19 kB / 1.274 GB, free: 159.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003117/2.915, allocations: 148.7 kB / 1.274 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004412/2.916, allocations: 91.58 kB / 1.274 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/2.917, allocations: 0.6438 MB / 1.275 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/2.917, allocations: 7.547 kB / 1.275 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/2.917, allocations: 3.812 kB / 1.275 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009122/2.918, allocations: 0.8008 MB / 1.276 GB, free: 159.1 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 postOpt removeSimpleEquations (simulation): time 0.00358/2.922, allocations: 1.664 MB / 1.277 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/2.922, allocations: 3.219 kB / 1.277 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/2.922, allocations: 83.81 kB / 1.277 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/2.922, allocations: 38.38 kB / 1.277 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/2.922, allocations: 17.77 kB / 1.277 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003061/2.923, allocations: 0.5698 MB / 1.278 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/2.923, allocations: 3.953 kB / 1.278 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/2.924, allocations: 0.9824 MB / 1.279 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/2.925, allocations: 259.5 kB / 1.279 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/2.925, allocations: 14.75 kB / 1.279 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008376/2.926, allocations: 56.12 kB / 1.279 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/2.926, allocations: 35.39 kB / 1.279 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.976e-05/2.926, allocations: 22.75 kB / 1.279 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009462/2.927, allocations: 0.6621 MB / 1.28 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/2.927, allocations: 3.656 kB / 1.28 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002625/2.929, allocations: 0.6004 MB / 1.281 GB, free: 157.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002427/2.932, allocations: 2.082 MB / 1.283 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001724/2.934, allocations: 1.007 MB / 1.284 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/2.934, allocations: 0 / 1.284 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003438/2.934, allocations: 235.3 kB / 1.284 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/2.937, allocations: 0.5553 MB / 1.284 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/2.941, allocations: 1.986 MB / 1.286 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009552/2.942, allocations: 1.249 MB / 1.287 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002239/2.944, allocations: 0.6798 MB / 1.288 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/2.945, allocations: 342 kB / 1.288 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.763e-06/2.945, allocations: 0 / 1.288 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07129/3.016, allocations: 31.93 MB / 1.32 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/3.016, allocations: 249.6 kB / 1.32 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.411/6.427, allocations: 2.812 kB / 1.32 GB, free: 153.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)