Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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/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/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: translateModel(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005623/0.005623, allocations: 170.9 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7152/0.7152, allocations: 132.3 MB / 148.1 MB, free: 236 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.2 MB / 403.2 MB, free: 6.781 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.001275/0.001275, allocations: 90.41 kB / 485.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003526, allocations: 11.98 kB / 0.5641 GB, free: 2.105 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4992/0.4996, allocations: 81.58 MB / 0.6438 GB, free: 39.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.67/6.169, allocations: 2.128 GB / 2.772 GB, free: 93.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/6.17, allocations: 106.8 kB / 2.772 GB, free: 93.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.807/7.977, allocations: 487 MB / 3.248 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.984e-06/7.977, allocations: 3.156 kB / 3.248 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002044/7.977, allocations: 45.56 kB / 3.248 GB, free: 148.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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.007015/7.984, allocations: 1.764 MB / 3.25 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/7.984, allocations: 12.03 kB / 3.25 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00386/7.988, allocations: 483.5 kB / 3.25 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003861/7.992, allocations: 1.341 MB / 3.251 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-05/7.992, allocations: 85.8 kB / 3.252 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003801/7.992, allocations: 110.2 kB / 3.252 GB, free: 145 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/7.995, allocations: 1.237 MB / 3.253 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/7.995, allocations: 0 / 3.253 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/7.995, allocations: 43.94 kB / 3.253 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/7.995, allocations: 38 kB / 3.253 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/7.997, allocations: 1.183 MB / 3.254 GB, free: 142.5 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.007152/8.004, allocations: 4.865 MB / 3.259 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/8.005, allocations: 0.9723 MB / 3.26 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/8.006, allocations: 201.7 kB / 3.26 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/8.006, allocations: 46.94 kB / 3.26 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 2.766e-06/8.006, allocations: 0 / 3.26 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81): time 0.005511/8.011, allocations: 2.951 MB / 3.263 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/8.011, allocations: 60.06 kB / 3.263 GB, free: 133 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/8.012, allocations: 0.8667 MB / 3.264 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/8.012, allocations: 45.7 kB / 3.264 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/8.013, allocations: 0.5352 MB / 3.264 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/8.013, allocations: 291.1 kB / 3.265 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/8.013, allocations: 22.78 kB / 3.265 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8e-05/8.013, allocations: 341.9 kB / 3.265 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/8.014, allocations: 429.7 kB / 3.265 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/8.014, allocations: 0.6143 MB / 3.266 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006511/8.015, allocations: 0.5434 MB / 3.267 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/8.015, allocations: 0 / 3.267 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001651/8.017, allocations: 1.234 MB / 3.268 GB, free: 128 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002437/8.017, allocations: 1.052 MB / 3.269 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/8.017, allocations: 0 / 3.269 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000256/8.017, allocations: 76.75 kB / 3.269 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009348/8.018, allocations: 191.1 kB / 3.269 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/8.02, allocations: 3.015 MB / 3.272 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/8.022, allocations: 144.2 kB / 3.272 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-05/8.022, allocations: 35.98 kB / 3.272 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/8.022, allocations: 4 kB / 3.272 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001425/8.023, allocations: 1.112 MB / 3.273 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/8.023, allocations: 4 kB / 3.273 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/8.023, allocations: 71 kB / 3.273 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/8.024, allocations: 175.7 kB / 3.273 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/8.026, allocations: 1.836 MB / 3.275 GB, free: 120 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/8.027, allocations: 140.6 kB / 3.275 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/8.027, allocations: 31.98 kB / 3.275 GB, free: 119.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001023/8.028, allocations: 0.6082 MB / 3.276 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/8.029, allocations: 110.7 kB / 3.276 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/8.03, allocations: 1.179 MB / 3.277 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/8.03, allocations: 8 kB / 3.277 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/8.03, allocations: 0 / 3.277 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/8.032, allocations: 1.233 MB / 3.279 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004392/8.036, allocations: 2.792 MB / 3.281 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/8.036, allocations: 7.984 kB / 3.281 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/8.037, allocations: 231.7 kB / 3.281 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/8.037, allocations: 68.81 kB / 3.282 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.145e-05/8.037, allocations: 27.39 kB / 3.282 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/8.039, allocations: 3.012 MB / 3.284 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/8.039, allocations: 7.891 kB / 3.284 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/8.041, allocations: 2.026 MB / 3.286 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009018/8.042, allocations: 319.7 kB / 3.287 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/8.043, allocations: 24 kB / 3.287 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/8.044, allocations: 110.1 kB / 3.287 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/8.044, allocations: 64.47 kB / 3.287 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.94e-05/8.044, allocations: 31.23 kB / 3.287 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009621/8.045, allocations: 0.6958 MB / 3.288 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.01e-07/8.045, allocations: 0 / 3.288 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003067/8.048, allocations: 0.7802 MB / 3.288 GB, free: 106.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002544/8.051, allocations: 1.342 MB / 3.29 GB, free: 105 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003165/8.054, allocations: 1.877 MB / 3.292 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/8.054, allocations: 128 / 3.292 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008235/8.055, allocations: 0.6659 MB / 3.292 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003423/8.058, allocations: 0.7847 MB / 3.293 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/8.063, allocations: 3.59 MB / 3.297 GB, free: 98.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/8.064, allocations: 1.452 MB / 3.298 GB, free: 96.58 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001996/8.066, allocations: 0.6916 MB / 3.299 GB, free: 95.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/8.066, allocations: 87.42 kB / 3.299 GB, free: 95.82 MB / 0.6823 GB Notification: Performance of SimCode: time 1.242e-06/8.066, allocations: 4 kB / 3.299 GB, free: 95.82 MB / 0.6823 GB Notification: Performance of Templates: time 0.05479/8.121, allocations: 41.92 MB / 3.34 GB, free: 54.29 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)