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.01818/0.01818, allocations: 169.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.321/1.321, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.651/2.651, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001608/0.001608, allocations: 89.16 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006733/0.0006733, allocations: 8 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8875/0.8883, allocations: 82.3 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.704/2.593, allocations: 374.6 MB / 1.015 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005174/2.593, allocations: 98.45 kB / 1.015 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.684/4.277, allocations: 248 MB / 1.258 GB, free: 66.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/4.278, allocations: 0 / 1.258 GB, free: 66.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001423/4.278, allocations: 35.92 kB / 1.258 GB, free: 66.95 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.003921/4.282, allocations: 1.434 MB / 1.259 GB, free: 65.46 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.774e-05/4.282, allocations: 8.031 kB / 1.259 GB, free: 65.46 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002534/4.282, allocations: 122.5 kB / 1.259 GB, free: 65.33 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006631/4.283, allocations: 138.5 kB / 1.259 GB, free: 65.19 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02225/4.305, allocations: 7.846 MB / 1.267 GB, free: 57.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.394e-05/4.305, allocations: 58 kB / 1.267 GB, free: 57.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/4.305, allocations: 76 kB / 1.267 GB, free: 57.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/4.307, allocations: 0.9746 MB / 1.268 GB, free: 56.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/4.308, allocations: 3.906 kB / 1.268 GB, free: 56.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/4.308, allocations: 35.95 kB / 1.268 GB, free: 56.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/4.308, allocations: 20 kB / 1.268 GB, free: 56.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/4.309, allocations: 0.6986 MB / 1.269 GB, free: 55.33 MB / 0.6823 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.007204/4.316, allocations: 4.542 MB / 1.273 GB, free: 50.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007308/4.317, allocations: 388.1 kB / 1.274 GB, free: 50.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004645/4.318, allocations: 429.8 kB / 1.274 GB, free: 49.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/4.318, allocations: 38.89 kB / 1.274 GB, free: 49.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 7.353e-06/4.318, allocations: 0 / 1.274 GB, free: 49.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.002265/4.32, allocations: 0.8411 MB / 1.275 GB, free: 48.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/4.32, allocations: 55.41 kB / 1.275 GB, free: 48.56 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/4.322, allocations: 0.8482 MB / 1.276 GB, free: 47.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.633e-05/4.322, allocations: 37.7 kB / 1.276 GB, free: 47.66 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/4.322, allocations: 0.5029 MB / 1.276 GB, free: 47.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/4.322, allocations: 149.9 kB / 1.276 GB, free: 47 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/4.322, allocations: 12 kB / 1.276 GB, free: 46.99 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001164/4.322, allocations: 326 kB / 1.277 GB, free: 46.67 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/4.323, allocations: 217 kB / 1.277 GB, free: 46.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/4.324, allocations: 448.2 kB / 1.277 GB, free: 45.92 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/4.324, allocations: 316.4 kB / 1.278 GB, free: 45.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/4.324, allocations: 4 kB / 1.278 GB, free: 45.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001635/4.326, allocations: 0.7828 MB / 1.279 GB, free: 44.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008496/4.327, allocations: 2.185 MB / 1.281 GB, free: 42.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/4.327, allocations: 8 kB / 1.281 GB, free: 42.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/4.327, allocations: 60.81 kB / 1.281 GB, free: 42.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/4.328, allocations: 111.8 kB / 1.281 GB, free: 42.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005726/4.328, allocations: 0.6381 MB / 1.281 GB, free: 41.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/4.33, allocations: 107.4 kB / 1.282 GB, free: 41.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.06e-05/4.33, allocations: 31.98 kB / 1.282 GB, free: 41.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/4.33, allocations: 4 kB / 1.282 GB, free: 41.48 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001352/4.331, allocations: 0.6758 MB / 1.282 GB, free: 40.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/4.331, allocations: 4 kB / 1.282 GB, free: 40.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/4.331, allocations: 64.8 kB / 1.282 GB, free: 40.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/4.332, allocations: 111.8 kB / 1.282 GB, free: 40.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/4.334, allocations: 1.67 MB / 1.284 GB, free: 38.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/4.335, allocations: 99.48 kB / 1.284 GB, free: 38.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.137e-05/4.335, allocations: 31.98 kB / 1.284 GB, free: 38.69 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 () * Number of clocked 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.001211/4.336, allocations: 487.9 kB / 1.285 GB, free: 38.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003317/4.337, allocations: 98.88 kB / 1.285 GB, free: 38.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/4.338, allocations: 0.6357 MB / 1.285 GB, free: 37.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/4.338, allocations: 7.938 kB / 1.285 GB, free: 37.45 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/4.338, allocations: 8 kB / 1.285 GB, free: 37.44 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001004/4.339, allocations: 0.8125 MB / 1.286 GB, free: 36.54 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.004187/4.344, allocations: 1.672 MB / 1.288 GB, free: 34.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/4.344, allocations: 4 kB / 1.288 GB, free: 34.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/4.344, allocations: 83.88 kB / 1.288 GB, free: 34.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/4.344, allocations: 40.81 kB / 1.288 GB, free: 34.65 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/4.344, allocations: 12 kB / 1.288 GB, free: 34.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005695/4.345, allocations: 0.572 MB / 1.288 GB, free: 34.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/4.345, allocations: 0 / 1.288 GB, free: 34.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/4.347, allocations: 0.987 MB / 1.289 GB, free: 33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/4.348, allocations: 267.8 kB / 1.29 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/4.348, allocations: 19.89 kB / 1.29 GB, free: 32.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009273/4.349, allocations: 67.78 kB / 1.29 GB, free: 32.63 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.939e-05/4.349, allocations: 35.89 kB / 1.29 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.311e-05/4.349, allocations: 23.92 kB / 1.29 GB, free: 32.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001415/4.351, allocations: 0.6668 MB / 1.29 GB, free: 31.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/4.351, allocations: 0 / 1.29 GB, free: 31.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003371/4.354, allocations: 0.5925 MB / 1.291 GB, free: 31.32 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 () * Number of clocked 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.003401/4.357, allocations: 2.076 MB / 1.293 GB, free: 29.19 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002369/4.36, allocations: 1.004 MB / 1.294 GB, free: 28.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/4.36, allocations: 0 / 1.294 GB, free: 28.17 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004493/4.36, allocations: 248.9 kB / 1.294 GB, free: 27.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003855/4.364, allocations: 0.5566 MB / 1.295 GB, free: 27.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/4.379, allocations: 9.769 MB / 1.304 GB, free: 17.35 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/4.381, allocations: 1.248 MB / 1.306 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002304/4.383, allocations: 459 kB / 1.306 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00071/4.384, allocations: 363.3 kB / 1.306 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of SimCode: time 2.184e-06/4.384, allocations: 0 / 1.306 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9466/5.33, allocations: 30.41 MB / 1.336 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003311/5.331, allocations: 268 kB / 1.336 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.848/11.18, allocations: 0 / 1.336 GB, free: 159.9 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)